|
-
Aug 14th, 2001, 05:16 AM
#1
Thread Starter
Lively Member
Data Report question
Greetings,
I have a Data Report that draws data from Data Environment, it works fine the first time I use it. When I change the data in the database table and call up the data report again, it shows the old data.
How do I get the data report to show the new updated data?
I am using VB 6.0
Thanks in advance.
-
Aug 14th, 2001, 07:20 AM
#2
Fanatic Member
In your code, before you open your report, add a statement similar to the following:
VB Code:
If DataEnvironment.rsConnection.State <> 0 Then DataEnvironment.rsConnection.Close
rsConnection is the recordset object of the connection you are using.
This will refresh your DE.
Hope this helps,
Chris
Chris
Master Of My Domain
Got A Question? Look Here First
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
|