|
-
Sep 12th, 2001, 09:12 PM
#1
Thread Starter
Frenzied Member
refresh datareport?
Hi,
I have created a DataReport that is bound to a DataEnvironment for it's recordsource and I have a problem with the report not refreshing until I close out of the application and get back in.
For example, before I first run the report, I can enter some data and then run the report and it's fine. Then, if I close the report (not the application), change or add data, then run the report again, it still only shows the previous data, without the latest updates. It only shows once I close out of the application completely and then get back in and run the report.
Any ideas?
Thanks,
Dan
-
Sep 12th, 2001, 09:55 PM
#2
VB Code:
Private Sub cmdShowReport_Click()
Dim dr As New DataReport1
Set dr.DataSource = DE1.rsTest 'not sure about this line
dr.Show
End Sub
try something like that
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Feb 21st, 2006, 06:19 AM
#3
Member
Re: refresh datareport?
after dr.show
try with dr.refresh
Hiran
-
Feb 21st, 2006, 06:20 AM
#4
Member
Re: refresh datareport?
sorry... before dr.show... try with dr.refresh
-
Feb 21st, 2006, 06:48 AM
#5
Re: refresh datareport?
Moved to reporting section
-
Feb 22nd, 2006, 04:50 AM
#6
Re: refresh datareport?
You may try a client-side cursor also.. or requery the recordset before showing...
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
|