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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stop Cursor Changing to Zoom 1

Status
Not open for further replies.

MeldrethMan

Technical User
Feb 3, 2012
69
GB

I need to give users the option of limiting the records sent for printing and this code works fine on a command button in the header.

DoCmd.OpenReport "rptCRBDue", acViewPreview, , "CRBDaysRemaining <= 60"

Trouble is the cursor then changes to zoom mode, either after printing or cancelling the print.

I'd also like to fix the report layout so a user can't change width, zoom, etc. Have set Auto Resize and Fit to Page to No, and Border Style to Dialog but these don't prevent changes.

 

Yes exactly, on clicking the command button on the menu

DoCmd.OpenReport stDocName, acPreview

the cursor becomes a magnifying glass.

If I start the report manually from the object list the cursor is a normal pointer. But on clicking the command button in the report header adding the condition "CRBDaysRemaining <= 60", the cursor again becomes a magnifying glass and stays that way.
 
acPreview" opens with the magnifying glass which makes sense. I try to never open reports in "report view" which has a typical "I" cursor.

I'm not sure what is wrong with the print preview and magnifying cursor. Users can't change stuff in this mode.

Duane
Hook'D on Access
MS Access MVP
 

Okay thanks, that seems to mean that if I preview the report with all records showing I can't then use a command button on the report to print just a selection?
 
Thanks Duane, I now better understand the way reports are presented and have a workable solution.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top