peterkiarie
Programmer
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.
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.