Accessing form from report

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

Guest

I typed the following code to access form frmSRMainMenu from the report in
the Report_NoData event:

MsgBox Forms!frmSRMainMenu!OptOutput

The message is: Can't find form frmSRMainMenu. I know the form exists and
it is spelled correctly. Any ideas ?
 
I typed the following code to access form frmSRMainMenu from the report in
the Report_NoData event:

MsgBox Forms!frmSRMainMenu!OptOutput

The message is: Can't find form frmSRMainMenu. I know the form exists and
it is spelled correctly. Any ideas ?

Is the form still open at the time?
 
Back
Top