Change focus in report (1 Viewer)

tmyers

Well-known member
Local time
Today, 15:17
Joined
Sep 8, 2020
Messages
1,090
I am trying to move focus off a control in a report so I can hide the buttons during print.

From what I have read, SetFocus isn't apparently supported in reports. I did try moving focus to a control on the form that opens the form, but have not been successful in that endeavor yet.

Can anyone offer some advice?

All I am trying to do is have a print button on the report that when clicked, sets its visibility to false, prints, then sets back to visible so it doesnt show up on the printed report.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 12:17
Joined
Oct 29, 2018
Messages
21,469
No code needed. Just set the Display When property to Screen Only.
 

tmyers

Well-known member
Local time
Today, 15:17
Joined
Sep 8, 2020
Messages
1,090
No code needed. Just set the Display When property to Screen Only.
Huh. Didn't know that was an option. Makes this so much simpler!
 

Users who are viewing this thread

Top Bottom