Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting Page Problem

Status
Not open for further replies.

Angelique21

Programmer
Jun 21, 2006
31
MT
Hey maybe someone can help me...

When running a report, sometimes I get Formatting Page..Press CTRL+BREAK and then gets stuck. This is happening when the report runs and I have to move to Page 2 or Page 3 of the Report.

Any suggestions about it.

Thanks.
 
The msg 'Formatting Page...' in the Status bar means that Access is formatting the layout of the report. There are several things that will slow this down, esp in a large report (many pages), eg referencing a report total within the report detail, etc.

Have you any code running in the report?
Are you using any domain functions like DLookup, DMax etc?

Max Hugen
Australia
 
Hi yes it is actually referencing a report total within the report detail..

but now what is happening is that it runs the report correctly and when i press from the navigation menu PAGE2, a run time error no 2450 message box is displayed, telling me form not found.


cannot understand why it works for only one page and when i try to access page2 it stops like this..


any suuggestions?!

thanks a lot
 
What form isn't found? Are you closing a form when you open the report?

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Yes I am closing a form when the report opens.

The exact situation is this I have a form (FORM1), where the user chooses the Order No and then another form opens (FORM2) where the user chooses the type of Preview to view and finally the Report Opens. On the second Form i am closing BOTH forms.

Now when having more than one page, it is giving me:
run time error no 2450 message box is displayed, telling me FORM1 not found.
 
Don't close the forms until at least after the report closes. Consider setting the form's Visible property to False.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top