mdemarte
Computer Wizard
- Local time
- Today, 23:19
- Joined
- May 8, 2001
- Messages
- 138
I have been struggling with this idea for over a week. I think that I may have a one-to-one table setup. I can't quite get it to work the way that I want though.
This will track EMS personnel. The idea that I have is to list the Basic Info for each person ONCE -- with their last name, first name, street address, city, etc. and then have 2 separate tables linked by IDNo for Fire Dept and for Haz Materials. Fire Dept would list which Fire Dept, their badge number, what date they started, etc. Haz Materials would list what their level of expertise is, pager no, etc.
Now, the problem is that when I set up the forms, I want the person's name on the Fire Dept form. If I set it up with Dlookup, then I can't find on the name. However, I CAN delete the Fire Dept record and still keep the Basic Info. If I set up the form with a query which includes both tables, then I can do the find, but when I do a delete, it wants to delete the Fire Dept record AND the basic info. If they are in the Haz Materials table, then I get an error about deleting related records.
So, the question is -- how do I set this up to do both? (That is, show the name info so I can do a find on it and yet only delete the Fire Dept info, not the Basic Info).
This will track EMS personnel. The idea that I have is to list the Basic Info for each person ONCE -- with their last name, first name, street address, city, etc. and then have 2 separate tables linked by IDNo for Fire Dept and for Haz Materials. Fire Dept would list which Fire Dept, their badge number, what date they started, etc. Haz Materials would list what their level of expertise is, pager no, etc.
Now, the problem is that when I set up the forms, I want the person's name on the Fire Dept form. If I set it up with Dlookup, then I can't find on the name. However, I CAN delete the Fire Dept record and still keep the Basic Info. If I set up the form with a query which includes both tables, then I can do the find, but when I do a delete, it wants to delete the Fire Dept record AND the basic info. If they are in the Haz Materials table, then I get an error about deleting related records.
So, the question is -- how do I set this up to do both? (That is, show the name info so I can do a find on it and yet only delete the Fire Dept info, not the Basic Info).