Hello. I have encountered a problem that has frustrated me for going on two days now. And the worst part is that I KNOW the answer is so simple!
I have created two tables (see image). One contains the vehicles main details, and the other the list of service procedures that have been performed for that vehicle.
[IMGNOTHUMB]http://bytes.com/attachments/attachment/6820d1357928459/screenshot4.jpg[/IMGNOTHUMB]
I am trying to open the "Service" form from the "Vehicle Details" form as a "New Record" relating to THAT SPECIFIC VEHICLE.
I have designed everything beautifully, but I can not seem to get it to work right!!!
Every time I click the button on the "Vehicle Details" form to open a new record specific to that vehicle, it gives me an error: Index or primary key cannot contain a Null value.
When I remove the Primary Key from the "Service" table, it works but then the "CUA#" field in the "Service" table is empty, so the records are not related.
WHAT AM I DOING WRONG???
Thanks,
dgaletar
I have created two tables (see image). One contains the vehicles main details, and the other the list of service procedures that have been performed for that vehicle.
[IMGNOTHUMB]http://bytes.com/attachments/attachment/6820d1357928459/screenshot4.jpg[/IMGNOTHUMB]
I am trying to open the "Service" form from the "Vehicle Details" form as a "New Record" relating to THAT SPECIFIC VEHICLE.
I have designed everything beautifully, but I can not seem to get it to work right!!!
Every time I click the button on the "Vehicle Details" form to open a new record specific to that vehicle, it gives me an error: Index or primary key cannot contain a Null value.
When I remove the Primary Key from the "Service" table, it works but then the "CUA#" field in the "Service" table is empty, so the records are not related.
WHAT AM I DOING WRONG???
Thanks,
dgaletar
Comment