K
KevinB
I have a form 'AddRecord' opened using
DoCmd.OpenForm "AddRecordForm", , , "[VesselID]=Forms!
[VesselSubform].[VesselID] ", acFormAdd
This opens the form required ready for a new record - fine!
Except I now have to make this idiot-proof for my work
colleagues who keep using the mouse wheel (or tab through
the form) creating 2 or more partially completed records
for the same piece of info.
I want to change the form to edit only as soon as the 1st
piece of information on the form has been typed, so that
when the mouse wheel is used, or the user tabs through the
form to the ist field again, a new record cannot be
started without going back to the start menu.
I think i should be setting the forms AllowAdditions to
false, but unsure on what event to use and the code to
accomplish this.
I would be very pleased if someone could advise.
Regards
Kevin
DoCmd.OpenForm "AddRecordForm", , , "[VesselID]=Forms!
[VesselSubform].[VesselID] ", acFormAdd
This opens the form required ready for a new record - fine!
Except I now have to make this idiot-proof for my work
colleagues who keep using the mouse wheel (or tab through
the form) creating 2 or more partially completed records
for the same piece of info.
I want to change the form to edit only as soon as the 1st
piece of information on the form has been typed, so that
when the mouse wheel is used, or the user tabs through the
form to the ist field again, a new record cannot be
started without going back to the start menu.
I think i should be setting the forms AllowAdditions to
false, but unsure on what event to use and the code to
accomplish this.
I would be very pleased if someone could advise.
Regards
Kevin