B
Bonnie
Hi folks! Using A02 on XP. Have a form for contract
records with a subform to record participant enrollments
in each contract. I need the sub form to 'gotonew' when
the main form moves from record to record.
I put the following on my sub form's OnOpen Event and it
works when I first open the form (to contract record 1)
but when I find the contract I need, the sub form only
shows existing records.
DoCmd.RunCommand acCmdRecordsGoToNew
Don't want to make the form AddNewOnly as we do need to
edit some existing records. But most of the time, we are
adding records.
I figure I need to put the GoToNew on the OnCurrent Event
of my main form but don't know what wordage to use. Can
someone put me back on track? I would really appreciate it.
Thanks in advance for any and all help and advice!!!
records with a subform to record participant enrollments
in each contract. I need the sub form to 'gotonew' when
the main form moves from record to record.
I put the following on my sub form's OnOpen Event and it
works when I first open the form (to contract record 1)
but when I find the contract I need, the sub form only
shows existing records.
DoCmd.RunCommand acCmdRecordsGoToNew
Don't want to make the form AddNewOnly as we do need to
edit some existing records. But most of the time, we are
adding records.
I figure I need to put the GoToNew on the OnCurrent Event
of my main form but don't know what wordage to use. Can
someone put me back on track? I would really appreciate it.
Thanks in advance for any and all help and advice!!!