M
Maggie
I have a main form & a sub form linked by a primary key
(HRID). When I enter the main form and select an HRID the
subform comes up with only the related records. When I
add NEW records to the subform I want it to automatically
add the HRID given in the main form so that the records
stay linked. Right now when I enter new records in the
sub form it leaves the HRID blank.
Do I add an event procedure to the Before Update or After
Update?
How do I write the code?
Any help would be greatly appreciated by this amateur.
Thanks,
Maggie
(HRID). When I enter the main form and select an HRID the
subform comes up with only the related records. When I
add NEW records to the subform I want it to automatically
add the HRID given in the main form so that the records
stay linked. Right now when I enter new records in the
sub form it leaves the HRID blank.
Do I add an event procedure to the Before Update or After
Update?
How do I write the code?
Any help would be greatly appreciated by this amateur.
Thanks,
Maggie