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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top