Need help with Crystal Reports 4.6 (with VB 6.)

I have a small application which is designed in VB 6.
Oracle 9i is the backend.

Im using Crystal Reports 4.6 to generate the reports...but the problem is it is not updating when i call the report from the vb code..it just shows the unupdated code..
:(
Any solutions ?
 
try to use the "refresh" button on the report viewer window, it should be yellow and look like a lightening.

How are you invoking the repprt viewer activex?
 
^that will refresh & update the data from the crystal report editor .

But i want this to happen during the vb call.

I had added the crystal report component to project & then added it to the report .

& the path set & am calling it using the

cr1.printreport

what i want to do is update the report & then display .
 
ComradE_BeaN said:
^that will refresh & update the data from the crystal report editor .

No, I am asking you to use the reportViewer component, to display the report programmatically not in the editor. Then try n refresh, n see if you are getting the correct data.

I do not have CR with me right now, can you post the exact name of the component you are using and if possible link to its documentation?
 
may be
open (Crystal Reports 4.6)
then choose (File)
and make sure about uncheck (Save Data With Report)

I wish you success :hap2:
 
Back
Top