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!

Form Printing Instead Of Report

Status
Not open for further replies.

LincolnMarkV

Programmer
Dec 22, 2003
72
US
Hello,

I have a report that I am trying to print for the preview page. When I Ctrl-P for the report to print, I get a print out of the Main Form that is opened at startup. What I need is for the report to print instead.

Please advise...

 
What object on your screen has the focus? Can you use File->Print ... rather than control+P?

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]
 
The report has the focus. I have tried Ctrl+p and file print and with the same results. The odd thing is, is that it works fine from my office, just not the clients.

On my main form, there is a textbox on the bottom that simulates a clock. Every second, the On Timer event fires and updates the time. Maybe this is interfering with the focus when it tries to print.
 
Turn of the timer since I believe every tick brings it to the front.

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