borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder

AndreaVB | Forum | News | Downloads | Register | Help | Member List | Statistics | Search | PM | Profile

Print This Topic
Previous Topic (Error registering craxdrt.dll,craxddrt.dll)Next Topic (Creating wizard that able to make .vbp files) New Topic New Poll Post Reply
AndreaVB Forum : ActiveX : How to refresh crystal report
Poster Message
Ramya
Level: Sage

Registered: 08-04-2005
Posts: 60

icon How to refresh crystal report

hai

I am using crystal report 9.2 wiht vb6.My problem i connected a table at design time to report and assign ti  fields to report.Evrything works fien for th efirst time bvut next time its nto refreshing what shd i do

To be simple

I need to refresh teh report

08-04-2005 at 12:31 PM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: How to refresh crystal report

You can put refresh button on the CT toolbar, so user can refresh it. Or you can call RefreshEx method (I think it is called like that).

____________________________
If you find the answer helpful, please mark this topic as solved.

08-04-2005 at 07:31 PM
View Profile Send Email to User Show All Posts | Quote Reply
Ramya
Level: Sage

Registered: 08-04-2005
Posts: 60
icon Re: How to refresh crystal report

hai

I dont knwo abt CT toolbar and i tried that refreshex method but it gives me error thats its a wrong property

09-04-2005 at 04:15 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: How to refresh crystal report

It is CR (Crystal report) toolbar, it was a typing mistake. As for the refreshEX method, I dont have VB6 with me at the moment, but it is a method of crystal report viewer object (the one you have placed on form). It should be in listed mehtods, and as I remember, it takes one bolean parameter. I think True is used when tou want to refresh whole report (together with data from database), and False only if you have made some changes on the report fields through code, and you want them to visible to user - but not to refresh data from database.

____________________________
If you find the answer helpful, please mark this topic as solved.

09-04-2005 at 12:10 PM
View Profile Send Email to User Show All Posts | Quote Reply
Ramya
Level: Sage

Registered: 08-04-2005
Posts: 60
icon Re: How to refresh crystal report

hai

As i told i gave it as true but it says that object or property doesnt set or something like that sort

11-04-2005 at 05:03 AM
View Profile Send Email to User Show All Posts | Quote Reply
Goran
Level: Moderator

Registered: 16-05-2002
Posts: 1681
icon Re: How to refresh crystal report

Does it raise error when you pass False instead of True? You should put your ocde here and write the exact error description, so we can help you.

____________________________
If you find the answer helpful, please mark this topic as solved.

11-04-2005 at 08:22 PM
View Profile Send Email to User Show All Posts | Quote Reply
Ramya
Level: Sage

Registered: 08-04-2005
Posts: 60
icon Re: How to refresh crystal report

hai bro
I am sorry to say this .I solved it in a different way.I just created teh report in seaghte crystal reports externally and called that file in vb code.And now i dont have a problem.
But it will be greatfull for me if u send a projetc with vb and crystal reports and so that i can have a check .

12-04-2005 at 05:09 AM
View Profile Send Email to User Show All Posts | Quote Reply
AndreaVB Forum : ActiveX : How to refresh crystal report
Previous Topic (Error registering craxdrt.dll,craxddrt.dll)Next Topic (Creating wizard that able to make .vbp files) New Topic New Poll Post Reply
Surf To:


Not Logged In? Username: Password: Lost your password?
Partners: Download Actual Software | Free Software Download
borderAndreaVB free resources for Visual Basic developersborder

borderAndreaVB Visual Basic and VB.NET source code resources - Copyright © 1999-2007 Andrea Tincaniborder