Form Default View - Datasheet

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

Hi All..

I have set the Form Properties to Default View, i have only alouded (yes)
Allow Datasheet View...but every time i open a form from a commandbutton..i
is in form view...and i only want the form to be in Datasheet view...

Thanks!
 
You must specify the view in the code/macro that opens the form (the code in
the Click event of your button.)

Something like this:
DoCmd.OpenForm "Form1", acFormDS
 
Thank you Allen, works nice!

Allen Browne said:
You must specify the view in the code/macro that opens the form (the code in
the Click event of your button.)

Something like this:
DoCmd.OpenForm "Form1", acFormDS
 
Back
Top