Saving records on Form (1 Viewer)

Local time
Today, 16:19
Joined
Jul 12, 2006
Messages
70
I have 4 tables with the following fields:

Table1 - CustID, customer information....
Table2 - CustID, VehicleID, vehicle information....
Table3 - VehicleID, PolicyID, policy number information
Table4 - PolicyID, premium collection information

The bold/underlined fields are my primary keys in the Relationship.

Everything works well, except for Table4!!! All the records encoded in it can not be saved.
 
R

Rich

Guest
PolicyID in table 4 is the ForeignKey and not the PK, you need to add a different PK to table4
 
Local time
Today, 16:19
Joined
Jul 12, 2006
Messages
70
Thank you very much for your inputs Rich!!! :)
 
Local time
Today, 16:19
Joined
Jul 12, 2006
Messages
70
Hi Rich!

I tried adding another field and make it as my PK on Table4. But still the records can't be saved.

Is it your birthday today? If it is.. "Happy Birthday!!!"

Sheila
 

Oldsoftboss

AWF VIP
Local time
Today, 18:19
Joined
Oct 28, 2001
Messages
2,499
Because these are cascading tables, you must have data in tables 1, 2 and 3 first
 
Local time
Today, 16:19
Joined
Jul 12, 2006
Messages
70
The join in 3 and 4 is PolicyID. I did have data in tables 1, 2 and 3. I hope the attached Relationship would help.
 
Last edited:

Users who are viewing this thread

Top Bottom