Re: You cannot add or change a record because a related record is required in table tbl_Location
- From: Little Penny <Lilpenny747@xxxxxxxxxxx>
- Date: Sun, 01 Jan 2006 20:43:15 -0500
I cannot thank you enough for you help. I do have another question. Maybe you can give me some direction. I have seven tables (Computers Laptop
Printer Peripherals Monitors and Location. The locations table has a one to many relationship with the (Computers Printers Peripherals and Monitors)
table. Laptops do not because we are more concern about user info. Computer most of the time have more than one user (Different Shifts).
My Users table has a one to many relationship with the (Computers Laptop and Peripherals)
The User table consist of several fields
Table: tbl_UserInfo
Name Type Size
UserID (PK) Long Integer 4
User_FName Text 50
User_LName Text 50
User_PhoneExt Text 50
User_CellPhone Text 50
User_Pager Text 50
User_Email Text 50
LocationID Long Integer 4 (Not used yet)
ComputerID Long Integer 4
The problem is when I use a form to link a Laptop, Computer or, Peripheral to a user I need to know the if the user already have and ID number if so
what it is. Is there a way to handle this differently? For instance since names are easier for people to deal with is there a way to type in the users
name and it retrieve the UserID and if they don't have one add the users required info and generate a user ID.
Thanks
.
- Follow-Ups:
- References:
- You cannot add or change a record because a related record is required in table tbl_Location
- From: Little Penny
- Re: You cannot add or change a record because a related record is required in table tbl_Location
- From: RuralGuy
- Re: You cannot add or change a record because a related record is required in table tbl_Location
- From: Little Penny
- Re: You cannot add or change a record because a related record is required in table tbl_Location
- From: Little Penny
- Re: You cannot add or change a record because a related record is required in table tbl_Location
- From: RuralGuy
- You cannot add or change a record because a related record is required in table tbl_Location
- Prev by Date: Re: Switchboard
- Next by Date: Re: Clickable Email Address Field
- Previous by thread: Re: You cannot add or change a record because a related record is required in table tbl_Location
- Next by thread: Re: You cannot add or change a record because a related record is required in table tbl_Location
- Index(es):
Relevant Pages
|