Force Datasheet View

jschneider998

Registered User.
Local time
Today, 18:43
Joined
Dec 4, 2002
Messages
22
Hi

I have several forms in my database that I have created as Datasheet view only. I have changed the property settings on each one to only allow datasheet views. When I created a command button on the main menu to open these forms, they open in form view....is there another way I can force them to open as datasheet view?

Thanks
 
In the Click event of your button...
Code:
    DoCmd.OpenForm "NameOfYourForm", acFormDS

IMO
 
Thank you

Thanks I was experiencing the same problem and your solution was aces.
J
 

Users who are viewing this thread

Back
Top Bottom