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.
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.