"Page setup" dialog

S

Sergio

Hi there,
I have a command button in a form with the following code on it's click event:

DoCmd.RunCommand acCmdPageSetup

When i click it, a message is displayed saying that the action can not be
performed because a form or report event is being processed.
I just need to setup the page from my form. Am I missing something?
Thanks in advance.
 
¹

¹Ú¹®¼ö

Sergio said:
Hi there,
I have a command button in a form with the following code on it's click event:

DoCmd.RunCommand acCmdPageSetup

When i click it, a message is displayed saying that the action can not be
performed because a form or report event is being processed.
I just need to setup the page from my form. Am I missing something?
Thanks in advance.
 
Top