Thank you guys. I'll give you more details.
I am in the design phase of a project, and my client wants me to
import all my data when all is as-built. My client has a database for
all his needed info, so I just used that database structure as a basis
for my design. I also added some new tables for design specific data,
and some other stuff that won't go to my client.
There is the master tag table. This holds the main list of records.
Then supporting tables to give more information about different kinds
of tags.
First, the tables: I've not listed all the fields, but the most
relevant ones.
Tag:
*Tag
Description
Tag_Cat (category)
Function_code
...
Tag_misc:
*tag
manufacturer
misc fields....
Tag_Failure_Mode:
*tag
Fail_code
Fail_mode
....
Tag_Format_in/_br_/te
*tag
cal_low
cal_high
IP-grade
....
The tag_misc table is 1 to 1. All tags should have information in the
tag_misc table. I know I then should have all that information in one
table, but since the original client structure needs to be maintained
I chose that design. And this has worked for a while, so I thought
it'd still work.
The tag_failure_mode table should contain data for most tags, but not
all. I chose to have a record in there for all tags regardless, as i
thought that may be easier to maintain. This is based on the tag!
function_code field.
The tag_format table should have data for tags of certain tag!tag_cat
values (br, in and te type tags). Once again, most of my tags are in
this category, so I chose to have all tags in this table too.
So I have used a query to gather up all the relevant fields for my
users (they are conservative and like their big excel-like datasheets)
in one big list.
My client made a change in his underlying database recently, so I
thought I'd take the opportunity to re-work my database as well.
trying to get rid of the big queries and relying more on forms, and
also finally linking the database (we've all been working on the same
file up until now).
So after these changes I get the message that a relevant record needs
to exist in the CHILD database, the Tag_failure_mode table in my
instance.
If it is like you say then I find it strange that this has worked
before, really. I see how it would work like you say, but then how did
it work this long? It was after I linked the database and added the
Tag_failure_mode table it stopped working. I also made many other
changes, so I can't tell what I did to break it.
Any tips on how to restructure or set stuff up to make this as smooth
as possible?
- Atle
[quoted text clipped - 23 lines]
       John W. Vinson [MVP]