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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crystal report Tool Refresh!!!

Status
Not open for further replies.

peterkiarie

Programmer
Dec 15, 2003
7
KE
I have a VB6 App in which I'm calling crystal report 8.5.
I have the following code:
crtGeneral.ReportFileName = strFile
crtGeneral.Action = 1
crtGeneral is the name of the Crystal report tool. Im using this to call various reports and as indicated i have a variable that i use to indicate what report file to call. MY PROBLEM IS THAT THIS WORKS FINE ON ANY REPORT THAT I CALL THE FIRST TIME, BUT I GET AN ERROR MESSAGE 'Invalid parameter field name' ON THE LINE "crtGeneral.Action = 1" THE MOMENT I CALL THE REPORT A SECOND TIME. TO ME IT LOOKS LIKE I NEED TO REFRESH THE TOOL WITH THE NEW REPORT FILE NAME, BUT THIS DOES NOT WORK. HOW DO I GO ABOUT SOLVING MY PROBLEM??????

Regards.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top