Refreshing VB 6 Datareports

how do i refresh data on vb6's datareports?

what i'm currently working on is running a search program and dumping the result in vb's datareport.  it works first time i run it.  but if i search again and preview the results, the data aren't updated.  it's still showing the previous results eventhough the tables in Access (where i'm getting the data for my report) are updated.

please help.  i'm also having problems with the landscape mode.
jvalenciaAsked:
Who is Participating?
 
FalkeConnect With a Mentor Commented:
Maybe you should print it directly!

There are two option:

without print-preview

printer ......

or with print-preview....

then you have to use OCX ......

recommed from Waty Thierry at

http://www.geocities.com/ResearchTraingle/6311

look at it..... (The datareport) is not as good as directly printout...
(in my opinion) and you need only few more lines.... (maybe 20-40)

Need specify help? Tell me...
0
 
jvalenciaAuthor Commented:
I tried printing it directly, but i'm still getting the previous search data.

I can't also get into the site you posted.  
0
 
rovermCommented:
To print landscape:
Use the PAGESET.DLL, available at http://search.microsoft.com/us/dev/default.asp (enter pageset.dll in the search box).
To refresh the DataReport: Close and Re-Open the dataset. I know, it should work without doing this but.....
Want to know more about the bugs in datareport ? let me know!
0
 
FalkeCommented:
Sorry for my false link.

It's on:

http://www.geocities.com/ResearchTriangle/6311/

If it doesn't work... I will send you prveview (and the html file) which is on this site....

cu,

Falke
0
All Courses

From novice to tech pro — start learning today.