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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

FalkeCommented:
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

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.