R
Rich1234
Hi
Main form: vehicles
Continuous subform: DriversVehicles
When the subform has the focus, there's a button on it to set the subform to
allow addtions =true. So the user clicks this to add a new record. If a
user then clicks on the main form whilst there is a "blank" record waiting
for a new record in the subform, how do I set the subform to allow additions
= false? I've tried putting allow additions=false in the subform's lostfocus
and deactivate events but it doesn't work. I also tried putting it in the
main form's on focus event...it didn't work.
Where do I need to put this? The exact code would be very helpful.
TIA
rich
rich
Main form: vehicles
Continuous subform: DriversVehicles
When the subform has the focus, there's a button on it to set the subform to
allow addtions =true. So the user clicks this to add a new record. If a
user then clicks on the main form whilst there is a "blank" record waiting
for a new record in the subform, how do I set the subform to allow additions
= false? I've tried putting allow additions=false in the subform's lostfocus
and deactivate events but it doesn't work. I also tried putting it in the
main form's on focus event...it didn't work.
Where do I need to put this? The exact code would be very helpful.
TIA
rich
rich