Hi,
You can only change the property in design mode. It’s tricky, but can be done.
You have to create an event from another form or module.
And if you use a command button to open this form, put this into the OnClick
Event.
‘open the form as hidden
DoCmd.OpenForm "Form1", acDesign, , , acFormEdit, acHidden
‘set the form’s properties
Forms!Form1.MinMaxButtons = 1
‘save the form
DoCmd.Close acForm, "Form1", acSaveYes
‘open/run the form as normal
DoCmd.OpenForm "Form1", acNormal
Assume “Form1” is your form.
>x taol wrote:
this code error.
i want to not manual seting but auto setting .....
--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200701/1