Report Format

  • Thread starter Thread starter ar
  • Start date Start date
A

ar

i don't know what wrong with this syntax
DoCmd.OpenReport ("Legal AP By Vendor"), acViewPreview
Reports("Legal AP By Vendor").Section(acDetail).Visible _
= False
whenever i run it the first page in the report shows
deitail but the second one dosent
thank you
 
ar said:
i don't know what wrong with this syntax
DoCmd.OpenReport ("Legal AP By Vendor"), acViewPreview
Reports("Legal AP By Vendor").Section(acDetail).Visible _
= False
whenever i run it the first page in the report shows
deitail but the second one dosent


The report's opening and displaying is asynchronous from the
processing of whatever code started the process. You should
do this kind of thing in the report's Open event.
 

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

Back
Top