Hi Alan
You can set the navigation properties immediately after opening the
form...
DoCmd.OpenForm "frmEmployee", acNormal, , , acFormAdd, acWindowNormal
Forms![frmEmployee].NavigationButtons = True
or in the forms open even... Me.NavigationButtons = True
If neither of these is suitable, then you could use the OpenArgs argument
like...
DoCmd.OpenForm "frmEmployee", acNormal, , , acFormAdd, acWindowNormal,
"ShowNav"
And then test for this in the forms open event...
If Me.OpenArgs = "ShowNav" then
Me.NavigationButtons = True
Else
Me.navigationButtons = False
End If
Regards
Andy Hull
Alan T said:
I would like to open a form by setting some properties:
eg. using
DoCmd.OpenForm "frmEmployee", acNormal, , , acFormAdd, acWindowNormal
setting the record navigator visible/invisible
Is it possible?