Hi Kutty,
What is data type of ID# and File_No
Only you can answer that question, as none of us can see your database.
With two tables, you have two possible relationships in a properly designed
database, assuming there is a relationship between these tables. Both
relationships would be considered "One-to-many" (1:M). A third possible
relationship, "One-to-one" (1:1) is very rare to find in databases, and if
this was the case, it would likely be better to have all the fields in a
single table. In English, these relationships could be stated as:
Possibility #1:
A staff member can deal with zero to many documents. A given document is
assigned to one (and only one) staff member.
or
Possibility #2
A document can include zero to many staff members. A staff member is
assigned to one (and only one) document.
In either case, you will need what is known as a foreign key field in the
many side table. A foreign key is a primary key (or uniquely indexed) field
from another table.
If you need what is known as a Many-to-many (M:N) relationship, then you
need to have a third join or linking table. A M:N relationship is made by
having two 1:M relationships, with the join table having the foreign key of
both relationships. In English, a M:N relationship would be stated as:
A staff member can deal with zero to many documents and a document can
include zero to many staff members.
Defining relationships between tables
http://support.microsoft.com/?id=304467
I encourage you to avoid the use of any special characters (spaces, # signs,
hyphens, etc.) or reserved words for things in Access that you assign a name
to. Scroll to the bottom of this Microsoft Knowledge Base (KB) article:
Special characters that you must avoid when you work with Access databases
http://support.microsoft.com/?id=826763
For reserved words, avoid using any of the words in this extensive listing:
Problem names and reserved words in Access
http://allenbrowne.com/AppIssueBadWord.html
Some good papers on the topic of database design:
http://www.accessmvp.com/JConrad/accessjunkie/resources.html#DatabaseDesign101
I highly recommend reading the first two papers written by Michael
Hernandez, author of the book "Database Design for Mere Mortals". The second
paper listed is only four pages in length.
Tom Wickerath
Microsoft Access MVP
http://www.accessmvp.com/TWickerath/
__________________________________________