Unable to refresh report in VB6

Working with crystal reports 8.5

Page 1 of 1

1 Replies - 1893 Views - Last Post: 22 June 2009 - 11:46 AM Rate Topic: -----

#1 Snoopac  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 9
  • Joined: 21-April 09

Unable to refresh report in VB6

Post icon  Posted 21 April 2009 - 09:34 AM

Hello, I have this problem to refresh my report in the form of my project.
A little background:
I'm a student and I'm working on a pretty big project which manages a store with orders and purchases. Now I must make some reports...so I've chosen to use Crystal Reports 8.5 and I've succeeded to make a report.

What I did so far:
I made my report, saved it to a file then in VB6: " Project=>Add Crystal Reports 8.5" then it made a form for me and everything is shown just great BUT! When I make a new order it isn't displayed in the report...I need to open the report in "Crystal Reports" and do "Refreh" there, save it and then its fine.

If it will be easier for you to help me you can download it from here: (4mb in ENGLISH ONLY...)
http://rapidshare.co...roject.rar.html

For those who downloads the project: don't type any password just click on "Admin Access". Also the project works from Local Disk C so just extract the folder to C and thats that...
Thank you alot!!!!!

This post has been edited by Snoopac: 21 April 2009 - 09:37 AM


Is This A Good Question/Topic? 0
  • +

Replies To: Unable to refresh report in VB6

#2 slscheer  Icon User is offline

  • New D.I.C Head

Reputation: 1
  • View blog
  • Posts: 24
  • Joined: 23-January 08

Re: Unable to refresh report in VB6

Posted 22 June 2009 - 11:46 AM

It sounds to me like you need to discard the data you saved in the report and then run the report against your data source. Try this and see if it helps



' tells Crystal to get the data to fill the report
cryGridReport.RetrieveDataFiles

' Opens the report for viewing
cryGridReport.Action = 1




good luck!!

This post has been edited by slscheer: 22 June 2009 - 04:10 PM

Was This Post Helpful? 0
  • +
  • -

Page 1 of 1