"Page setup" dialog

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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.
 
Back
Top