change form view

Janjang

Registered User.
Local time
Today, 16:11
Joined
Oct 17, 2005
Messages
80
some 1 plz tell me how to write the code for change form view when cliking open form command button...

i try setting at form to datasheet view but when i click at command button it show single form view..

thanks..
 
ok..i found it my self...

DoCmd.OpenForm stDocName, acFormDS, , stCriteria

acFormDS for viewing option
 

Users who are viewing this thread

Back
Top Bottom