form window in dialog mode

cnuhima

Registered User.
Local time
Yesterday, 18:42
Joined
Jun 19, 2008
Messages
72
Hi guys,

i have a small doubt.i want to open the form in the dialog mode.Can some body pls tell me how to do that..

thank u
 
DoCmd.OpenForm "FormNameHere", acNormal, , , , acDialog
 
Thank u very much.But the form which i want to open in dialog form is the startup form in my application..

and if i write the above code in the form load function..its not working..

can u pls suggest me other ways..
 
Then, do not set the form in the startup options as the startup form.

Create a macro and name it Autoexec. Set the Action to OpenForm and in the arguments you can select Dialog.
 
yup..i got it..by using restore

docmd.restore


Thank u ver much
 

Users who are viewing this thread

Back
Top Bottom