Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

VB - Data Refresh in Crystal Report ? 2

Status
Not open for further replies.

Cap2010

Programmer
Mar 29, 2000
196
CA
How to refresh data in crystal report 4.6 during runtime
i.e. when application is running it should refresh and access new data inserted for viewing want this to happen programmatically in VB.
 
the data should be fresh when you launch the report (unless you have saved data in the rpt. How are you launching the report? Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
During the report design, have u ticked the option "Refresh On Every Print" Check it , it will work
 
That menu option is "Verify on every print", and does something different. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
hi,

what I did was, removed data from the reports and than saved it. There after, on run time, it displays record of the current changes made. Still, one question lies. In case
I make changes to the data and than again go for viewing the data, then it displays previous record data.
In order to display the changes made, either have to close the application or select another menu to display.

What I tried to search was any command connected to refresh on runtime.

e.g. cryReport.refresh

which is not available in Crystal Report 4.6

Thanks,

Lad
 
You could enable a refresh button in the window with:

rptMyReport.WindowShowRefreshBtn

And then the user could click the button to refresh the report. But, I am not sure if this is available in all verisons of the OCX. Ken Hamady
Crystal Reports Training/Consulting and a
Quick Reference Guide to VB/Crystal (including ADO)
 
At report design time check "Verify on every print option"
& in the crystal report properties set Discardsaved data to true


Jyoti
 
Will this not reduce the speed in accessing the report.?

Really, Thankful to you all in helping me, this site is wonderful.


Thanks,

Lad
 
Hi

I think you may be able to help me here..

I have developed an application that uses Access 97, VB 5.0 Sp3, and Crystal Reports 4.6 on Win 95 . When I install the application on another machine.I get a runtime error Error#20534- "Error detected by database dll". THe application works fine on a machine that has VB installed.

I have narrowed the error to the line "CRYstalReport1.Action = 1"

Can anybody help me to remove this error?
Or tell me what do i need to deploy crystal reports 4.3?

Any help is highly appreciated.

Roshan
 
Hi ,

I have already posted the message on the Crystal Reports Integration/Distribute forum.

Roshan
 
how can create the runtime Crystal report in vb 6 send a reply to joseph_raj98@yahoo.com please urgent
 
How to refresh data in crystal report 4.0 during runtime
i.e. when application is running it should refresh and access new data inserted for viewing want this to happen programmatically in VB 3.0.
That menu option is "Verify on every print", neither in the crystal report properties set Discardsaved data to true ", does not work for me .
Please help me.
 
Could you post this as a new question? Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Where can I find a good book on Crystal Reports 4.6 that comes with VB6?
 
There are several good resources for the OCX (the VB integration method. Crystal has a developers guide, and there are several application examples on their web site. There are also several independent books that you can buy, including my own "Quick Reference". One very popular book that covers all of Crystal is the "Complete Reference" by George Peck. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
I was working with crystal reports, I tried to use ToWords(x,x) function. But I got the message that "crxlat32.dll" is damaged.

Please give me the solution.
 
Please start a new thread for this question. Ken Hamady, On-site Custom Crystal Reports Training & Consulting
Public classes and individual training.
Guide to using Crystal in VB
tek@kenhamady.com
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top