Hi Guys,
I'm having a problem executing my program in VB6 using Crystal Report 11. I tried executing this code below in my program and an error occurred "Basic Syntax is not supported in group or record selection formula".
Set CrystalReport = crApp.OpenReport("c:\Program\ra.rpt")
CrystalReport.RecordSelectionFormula = "{t_batch_ra_Header.AgencyCode} = 1 and {t_batch_ra_Header.batchnumber} = 731"
When you first run the program this statement works and the report was displayed correctly but when you tried executing it for the second time, an error described above occurred.
Any help would be highly appreciated.
Thanks,
Jbats
JBats
Good is not better if not than best...
I'm having a problem executing my program in VB6 using Crystal Report 11. I tried executing this code below in my program and an error occurred "Basic Syntax is not supported in group or record selection formula".
Set CrystalReport = crApp.OpenReport("c:\Program\ra.rpt")
CrystalReport.RecordSelectionFormula = "{t_batch_ra_Header.AgencyCode} = 1 and {t_batch_ra_Header.batchnumber} = 731"
When you first run the program this statement works and the report was displayed correctly but when you tried executing it for the second time, an error described above occurred.
Any help would be highly appreciated.
Thanks,
Jbats
JBats
Good is not better if not than best...