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

View Report AND Set Focus to control??

Status
Not open for further replies.

dabineri

Programmer
Jun 20, 2001
265
US
I am using CR7 and VB6. I view a report by setting the Destination=0 and Action=1 and the report comes up on the screen fine. However, if, after setting Action=1, I SetFocus for a control on the main form (the form with the PRINT button that generates the report) then the form is shown and the report is hidden (not on top).

How does one have a previewed report show on the screen and, when the report is closed, a particular control is given focus?

Thanks for any hints on this. David Abineri

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top