Build Database Based On XML Schema?

May 16, 2012

I have a xml schema which defines all things necessary (tables, field names, relationships, etc) to build a database in access. The question is whether Access could decode xml schema and build the database (create all tables, fields and relationships) automatically by macro or something else. I have tried to load xml schema by using external data in Access. However Access can only recognize some tables, not everything.

View Replies


ADVERTISEMENT

How To Build A Table Based On Another, Using Modulus?

Sep 7, 2006

Hello!I have a table, with quantities in a field that I need to split in batches of 25, to build a new table. Example:object price qtyblah1 1.00 144blah2 2.00 76My results need to look like this:object price qtyblah1 25.00 25blah1 25.00 25blah1 25.00 25blah1 25.00 25blah1 25.00 25blah1 19.00 19 (5x25+19=144)blah2 50.00 25blah2 50.00 25blah2 50.00 25blah2 2.00 1 (3x25+1=76)I've been able to build a new table based on these values of 25 etc using MOD, but it's making columns. How can I build a new table and make new RECORDS using MODULUS (or another?) technique instead?? I hope this makes sense, and I hope someone can help.Cheers

View 4 Replies View Related

Newbie Trying To Build 1st Database

May 26, 2006

I have attacked quite a few guides ( Dummies & Absolute Beginners ) on how to build a database of my gardening clients, but have run into a problem that they can't seem to resolve. Is there anyone out there who can help me with "referential integrity" and trying to link relationships between the various tables I have created.

View 3 Replies View Related

Build A Table Of Database Structure

Apr 7, 2006

Access 2000: How can I populate a two field table (1. Table Name 2. Field Name) with the name of ever field within every table in my database using VBA code?

Regards,

Dalien51

View 2 Replies View Related

How To Build Access Database From External Report

Oct 3, 2012

We have an older system that generates txt reports. I take these txt reports, then using Excel, I append the report headers to each record... creating a datatable. I then import this table to Access. I have not been able to figure out how to have Access perform this. In Excel, I use an "if" statement.

View 9 Replies View Related

Without Any Success To Build A Small Stock Control Database.

Feb 15, 2008

Hi

I am trying without any success to build a small stock control database.

very simply put I am the main site and I have many other sites. each site has a unique code. I have 4 products only. I want to have the total stock that I hold in my site and as I send stock to other sites I want the number to decrease from my site and be added to the other specified site.

any ideas anyone.

View 3 Replies View Related

Forms :: Build Up A Database For Multiple Choice Questions Quiz In MS Access 2010

Aug 23, 2014

I'm trying to build up a database for Multiple choice questions quiz in MS access 2010.My requirement are as follows

My quiz consist of 15 questions. Each questions carry some weightage. Suppose a question carries a weightage of 5 and there are two correct options like A & C. If user selects option A then he gets half marks.Multiple users can access the test at the same time.

View 1 Replies View Related

VB6 / Access / Schema

Nov 8, 2005

Hi

I would like to add to my VB6 app the ability to build an array of what tables are in my Access database, and the fields that are in each of those tables.

I am working with this database using ADODB, but it doesn't give properties like Tables and Fields, for example.

I am happy to open this database some other way, grab this info, close that connection, and proceed using ADODB.

What do you think

Robert

View 2 Replies View Related

Loop In A Schema?

Feb 6, 2006

I am very inexperienced in databases and I am currently attempting to design a database and there is one part of the schema where I am unsure how to proceed.

I need to model schools, pupils and teams. Schools have a number of pupils as do teams.

I rushed in with the following design but it just seems wrong to me. I don't know much about database design but I don't like the idea of having a kind of loop/triangle in the schema like this.

School(SchoolID, SchoolName, Postcode)
Pupil(PupilID, School, Team, Forename, Surname)
Team(TeamID, School, TeamName)

I was conscious of having a fan trap of a school has many teams and a school has many pupils.

Is this bad practice or is it fine?

Any guidance or related articles on this would be appreciated.

View 1 Replies View Related

Print Table Schema

Jun 27, 2005

Hello,

Is there a way to print the schema of a table right out of Access?? Basically I just want to print out all the field names, data types and descriptions. When looking at the table in design view MS Access 2000 does not give you the option to 'Print'.

Any ideas?

Thanks

Brian

View 2 Replies View Related

Upgrading Amended Db Schema Via Mde

Aug 22, 2007

We have added new columns to a table in our developer db. Now we need to get these columns into the client's system.

Their computer is running on Access runtime, so if we change our existing Access db into a Mde would it be possible to upgrade their database with the changes without corrupting any of the client's data? We're quite happy to overwrite the forms, queries etc. but what happens to the client's data? especially when we have made some changes to the database schema e.g added new columns to the table?

We'd be grateful for any help.

View 2 Replies View Related

Orphan Table In A Schema

Nov 3, 2005

Hello,

I have some questions about a schema design I am working on. After much trial, it appears to me that a particular table is not and probably does not need to be related to any other table in the schema. So my questions are:

1. Is it right or quite typical for schemas to have some tables which are orphan (i.e. unattached to any other tables)?

2. If tables can exist in isolation, then what are the primary purpose they provide? I have a suspicion that if fields from an orphan table are used in query etc, then the possibility of Cartesian joins will arise. If so, how does one take care of avoiding such a problem?

Thanks very much for the enlightenment.

View 5 Replies View Related

General :: Changing Naming Schema

May 28, 2013

I have taken over exisiting databases and the names for the tables,forms,queries,reports are not technically named correctly.. What would be the easiest way to rename everything accordingly:

tbl for table
qry for query
rpt for report
mcr for macro
bas for module
frm for form.

Of Course they have names but it is hard to tell when viewing a query for instance if you are looking at a table or a query.... in the SQL View.

View 14 Replies View Related

Form Design Strategy On Schema With Many M-M Relationships

Nov 4, 2005

Hello,

I have a couple of elementar level questions on Form creation process and standards invloving a schema with several M-M relationships. I have a highly normalized design (thereby producing several junction tables). I have attached a picture of my schema to give an ideal of the schema I am talking about.

1. What is typcially the process of creating Forms on such a schema for the purpose of data-entry. Meaning, should there be several Forms (on the order of # of tables) or should there be a few that enables simulataneous data entry to many tables through one Form. What is typically the practise?

2. If there are 3 tables (A, B, C) so that A and C have a M-M relationship and B is a junction table that makes A &B and A & C have a 1 - M relationship, then how does one enter data for A, B, and C so that all the three get populated?

3. Can someone provide a copy or link to a sample database that has a similar normalized schema and Forms built into it that takes care of the data entry to the various tables?

Thank you very much for some light on this path.

View 3 Replies View Related

How Do I Build This?

Aug 8, 2006

How do I build a form which will pull only certain work orders from my table [Work Orders], filter it through a query, [Payroll] which gives me only those work orders which match a certain repID#, for only certain Invoice Dates, and and then display a talley of the total number of times a certain product appears in the field [ProductSold] on the query [Payroll]?

View 1 Replies View Related

Build Function

Feb 23, 2007

I can't find anything in the archive relating to this...

Can someone tell me how to enable the "Build" feature in the Visual Basic screen in 2003, please?

I recently upgraded from 97 and can only find the "Build" feature in Query Design.

In 97 it was available by right clicking the screen and selecting "Build". I have no such option when right clicking in 2003.

Thanks

View 5 Replies View Related

Help With Table Build

Dec 4, 2006

Can anybody help me build the last table in my database? I have taught myself Access – and can usually get by with a little help from this forum. I have been trying for days to try and solve this !!!

The database is designed to manage feedback questionnaires from attendees of training courses.

I have attached the relationship diagram.

- A course may run for several days. The details of the course are held in the table ‘Courses’. During a course, attendees may be asked to fill in several Questionnaires
- An Attendee is a Person that attends a Course. Attendees are held in the table ‘Attendees’ and their details are held in the table ‘Person’.
- There is a ‘Library’ of questions that sit in the table ‘Questions’
- The questions can be assembled into “Standard Questionnaires”. These sit in the table called “Questdesign” which is a junction table. Assembling a Standard Questionnaire involves using a form to pick questions and give them an order (Qnumber). I HAVE DONE THIS.
- A specific “Questionnaire” is a “Standard Questionnaire” that is used on a specific course. The list of Questionnaires is held in the table “Questionnaire”
- Scoresheet is the junction table between Attendee and Questionnaire (an Attendee on a course may fill in several Questionnaires and a Questionnaire may be filled in by lots of Attendees.)

I now need a table (Scores) in which to put all the scores to the questions (in other words, the scores of the questions on the Questionnaires that are completed by the Attendees on a Course.)

At the end of the day I am aiming to have a form in which:

The Attendee number is entered and all the person’s details are filled in automatically) – I HAVE DONE THIS
The Questionnaire number is entered and all the course details are filled in automatically – I HAVE DONE THIS
A Scoresheet ID is filled in (Autonumber) - I HAVE DONE THIS
A subform appears which shows the right set of questions and question numbers for the appropriate Questionnaire – with a blank column so that the user can fill in the scores which get stored in the Scores Table. - I CAN'T DO THIS !!!

I cannot work out where to link my Scores table and how to build a query that drives the correct behaviour of the subform

I hope I have explained this clearly. I would be so grateful for any help. This Forum is fabulous.

Many thanks

NoVoiceLeft

View 6 Replies View Related

Needs Help To Build Query

Aug 28, 2007

I have some database with columns 'Number', 'Mfr Name' and 'Mfr Part Number'.
Number - internal catalogue item of a company.
Mfr Name - name of a manufacturer where from we purchase the item
Mfr Part Number - part number of a manufacturer where from we purchase the item
Each item may have one or more Mfr Name & Mfr Part Numbers.
----------------------------------------------------------------------
I need to build a following query:
Input gets part of Mfr Part Number and output is all Mfr Name & Mfr Part Number of match item.

View 6 Replies View Related

How To Build Sliding Bar Displays?

Jan 8, 2007

Hello All

Does anyone know how you might build sliding bar displays as an input device for scores into an Access database? I am building an application that could really use something like this.

Here is an example. First go to the 'Chelsea tab', slide the bars, submit the results, and see the results on the "Results" tab

http://news.bbc.co.uk/sport1/hi/football/teams/c/chelsea/6173703.stm

Very impressive

NoVoice

View 6 Replies View Related

Build A Temporary Table

Apr 22, 2006

hi

hi

i have sql query in a string

strQuery="...."

how to create temporary table with the result of this query?

thanks

View 1 Replies View Related

Build A Date In A Query

Oct 7, 2005

How can I build a date in a query that is used for filtering purposes? The data is in the records in two fields - Month and Year. In our query we have an expression that builds a date - DateRange: [Month]/1/[Year] in order to qualify the record with the criteria Between FromDate and ThruDate. DateRange as it is shown here returns a date of 12/30/1899 for all records. DateRange: #[Month]/1/[Year]# is invalid syntax. DateRange: [Month] & "/" & 1 & "/" & [Year] is not recognized as a date.

View 4 Replies View Related

Build Expression For Query

Jul 5, 2006

Hi all, I have a field that stores software versions as text. The version numbers can be simple (4.0, 5.0) or unknown or more complicated (4.5.200512, etc). The user wants to be able view data in a pivotChart without seeing interim versions- so 4.5.200512 would not show up but its data would be counted as part of 4.5. Anybody know how I can do this?
thanx

View 1 Replies View Related

Help Needed To Build My Query!!!

Oct 26, 2006

Hi everybody,

Let's say that I've got the following tables:
- tblCustomers(IDCust,NameCust)
- tblEmployees(IDEmpl,NameEmpl)
- tblProjects(IDProj,IDCust,IDEmpl,Duration)

My query:
SELECT tblCustomers.NameCust, tblProjects.IDProj, tblProjects.Duration, tblEmployees.NameEmpl, Sum(tblProjects.Duration) AS SumOfDuration
FROM (tblProjects INNER JOIN tblEmployees ON tblProjects.IDEmpl = tblEmployees.IDEmpl) INNER JOIN tblCustomers ON tblProjects.IDCust = tblCustomers.IDCust
GROUP BY tblCustomers.NameCust, tblProjects.IDProj, tblProjects.Duration, tblEmployees.NameEmpl
ORDER BY tblCustomers.NameCust;

What I'd like get when running my query is:

NameCust ------ IDProj - Duration ----- NameEmpl ------- ?????????
CUST1 ---------- 1 ------ 3 ------------ EMPL3 ---------- 7
CUST1 ---------- 2 ----- 10 ------------ EMPL4 --------- 10
CUST1 ---------- 9 ------ 2 ------------ EMPL3 ---------- 7
CUST1 --------- 11 ------ 2 ------------ EMPL3 ---------- 7
CUST1 --------- 13 ------ 8 ------------ EMPL1 ---------- 9
CUST1 --------- 18 ------ 1 ------------ EMPL1 ---------- 9
CUST2 ---------- 3 ----- 20 ------------ EMPL1 --------- 20
CUST2 ---------- 4 ----- 12 ------------ EMPL3 --------- 17
CUST2 ---------- 5 ------ 3 ------------ EMPL2 ---------- 4
CUST2 --------- 10 ------ 5 ------------ EMPL3 --------- 17
CUST2 --------- 17 ------ 1 ------------ EMPL2 ---------- 4
CUST3 ---------- 6 ----- 25 ------------ EMPL4 --------- 27
CUST3 --------- 14 ------ 2 ------------ EMPL1 --------- 14
CUST3 --------- 15 ------ 2 ------------ EMPL4 --------- 27
CUST3 --------- 16 ----- 12 ------------ EMPL1 --------- 14
CUST3 --------- 19 ------ 2 ------------ EMPL2 ---------- 2

where ???????? (manually done) = the sum of the Employee duration for ONE Customer !!!

But what I get instead:

NameCust ------ IDProj - Duration ----- NameEmpl ------- SumOfDuration
CUST1 ---------- 1 ------ 3 ------------ EMPL3 ---------- 3
CUST1 ---------- 2 ----- 10 ------------ EMPL4 --------- 10
CUST1 ---------- 9 ------ 2 ------------ EMPL3 ---------- 2
CUST1 --------- 11 ------ 2 ------------ EMPL3 ---------- 2
CUST1 --------- 13 ------ 8 ------------ EMPL1 ---------- 8
CUST1 --------- 18 ------ 1 ------------ EMPL1 ---------- 1
CUST2 ---------- 3 ----- 20 ------------ EMPL1 --------- 20
CUST2 ---------- 4 ----- 12 ------------ EMPL3 --------- 12
CUST2 ---------- 5 ------ 3 ------------ EMPL2 ---------- 3
CUST2 --------- 10 ------ 5 ------------ EMPL3 ---------- 5
CUST2 --------- 17 ------ 1 ------------ EMPL2 ---------- 1
CUST3 ---------- 6 ----- 25 ------------ EMPL4 --------- 25
CUST3 --------- 14 ------ 2 ------------ EMPL1 ---------- 2
CUST3 --------- 15 ------ 2 ------------ EMPL4 ---------- 2
CUST3 --------- 16 ----- 12 ------------ EMPL1 --------- 12
CUST3 --------- 19 ------ 2 ------------ EMPL2 ---------- 2

Any suggestion to build this Query ??
Thanks in advance

View 3 Replies View Related

Form To Build Web Address

Feb 9, 2006

Hi all.

I have been given a simple task, but i have no idea how to do it! I need a form to do the following:

User types in a reference, for example TEST1

We have a standard link along the lines of http://www.testtesttest.com/blaablaa/

We need access to append the "TEST/1" (or whatever the user has entered) to the end of the link, so the result would be:

http://www.testtesttest.com/blaablaa/TEST1

I would be extremely greateful of someone could let me know the best way of getting this done.

Kind Regards
Darren

View 1 Replies View Related

How I Can Build Forms For This Question

Dec 25, 2006

Hi


I 'm new at this Forum and also I'm new programmer in Access.

I 'm trying to answer project called (Cerulean Bee) ,which is attachment down

I do the table and forms but I don't know how I can let them as it the question (Artwork Order-Employee Work Log-Print Order-Project Cost Analysis).

Her my file http://www.megaupload.com/?d=XP34TRO3

Please help me to find ant error I do , and to get best answer for my question.

I'm realy need your help


Thank you all

View 2 Replies View Related

Help Me Build Simple SQL Query!

Feb 11, 2006

(Dear Admin, don't be mad I posted this post elsewhere but had no luck with answers)

Please guys, I just forgot how to do this:

I have a table with primary key (id) and sort of secondary key (id1). Several rows can have same id1.

id id1
1 1
2 1
3 1
4 1
5 3
6 3
7 4
8 4
9 4
...


I need to count the id1 - how many different id1 values are there.

This doesn't work:
SELECT COUNT(id1) FROM table GROUP BY id1
this also doesn't work:
SELECT COUNT(id1) FROM table

As I recall, it was something about DISTINCT function or something like that...?

Please help, I'm sure it's totally simple, but I'm stuck.

View 4 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved