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

Close DataReport Group Command

Status
Not open for further replies.

sfrandolph

IS-IT--Management
Mar 29, 2001
2
US
I am having trouble with a DataReport Group Command.

Here is the code that I am using:
DataEnvironment1.Command3_Grouping
DataReport2.Show
DataEnvironment1.rsCommand3_Grouping.Close

This code allows me to preview the report to the screen. However, when I close the report preview window and then execute the display button again, I receive an error message that the Command3_Grouping object is already open. I have tried the unload object command but receive a type mismatch error. What am I doing wrong. Any assistance would be appreciated. Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top