code for to set the form to new record as it open

B

balu

dear friends,
my form setting to the first record of the table as it opens but i want the
the form to get set for a new record how to this programatically
(WITH OUT SETTING THE DATA ENTRY TO TRUE)
Kindly advise please
 
R

Rob Parker

In the form's Open event:
DoCmd.RunCommand acCmdRecordsGoToNew

The form must have AllowAdditions set to True

HTH,

Rob
 
Top