G
Guest
Hey everyone,
I have the following problem: I have a form with a primary key and a subform
linked on that primary key. I also have a default value for the Primary key
(=Date()) defined on the form.
The problem that I now have is if the user does not enter anything on the
parent form and skips straight to the subform, the parent record is not
saved, resulting in a "Index of PK cannot contain a null value" error. What
is the most elegant way of working around this?
Thanks in advance
Chris
I have the following problem: I have a form with a primary key and a subform
linked on that primary key. I also have a default value for the Primary key
(=Date()) defined on the form.
The problem that I now have is if the user does not enter anything on the
parent form and skips straight to the subform, the parent record is not
saved, resulting in a "Index of PK cannot contain a null value" error. What
is the most elegant way of working around this?
Thanks in advance
Chris