G
Guest
I have a form with two subforms. It has two primary fields. fgnOriginatorID
and StartDateID. The form and subforms seem to work well together except
when I try to add a new record. The main form generates thru code a new
StartDateID that is a week after the previous record and the fgnOriginatorID
is passed to the new record. The originator can be changed at that point if
someone else is writing the document.
One subform is linked by only the date. The other is linked to both primary
fields.
When the new record is generated, the date and name show up and then I get
the error message in the subject line if any control is accessed.
The table for the main form does not seem to be getting the data. If I go
to the table and put in manually only the two primary fields, the form opens
correctly with the new date and originator. Then I have code that adds other
information which works correctly.
Any ideas would be appreciated. I'm sure it's something simple I'm
overlooking but can't find.
and StartDateID. The form and subforms seem to work well together except
when I try to add a new record. The main form generates thru code a new
StartDateID that is a week after the previous record and the fgnOriginatorID
is passed to the new record. The originator can be changed at that point if
someone else is writing the document.
One subform is linked by only the date. The other is linked to both primary
fields.
When the new record is generated, the date and name show up and then I get
the error message in the subject line if any control is accessed.
The table for the main form does not seem to be getting the data. If I go
to the table and put in manually only the two primary fields, the form opens
correctly with the new date and originator. Then I have code that adds other
information which works correctly.
Any ideas would be appreciated. I'm sure it's something simple I'm
overlooking but can't find.