|
-
Nov 15th, 2000, 12:44 AM
#1
Thread Starter
Lively Member
As the subject said I have a problem with data reports.
I have this data connection (i'll call all the object with the default name) DataEnvironment1 with a connection to my main database of my application, (Connection1) which in turn has a 1 command (Command1). I have to reports which use Command1. So when I want to view DataReport1 or DataReport2 I have the following code:
DataEnvironment1.Command1
DataReport1.Show 1
same goes for 2 instead of DataReport1.Show 1 it will be DataReport2.Show 1
Anyway, I have no problems when I open only one of the reports, but there's an error if I open one report, close it, then open another. The error occurs when I run the
DataEnvironment1.Command1 statement again.
the error message says "The operation requested by the application is not allowed if the object is open..."
so what should I do to work around this?
Thanks in adavance for all the help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|