Hi
I have tried to verify reports via the VCL in Delphi5. But it doesnt seem to work. I use the following code:
Mod0727F.Crpe1.ReportName := ExtractFilePath (ParamStr(0))+ 'Mod0721R.rpt';
Mod0727F.Crpe1.Tables[0].Path :=TSetUpRec(SetupPtr^).DataPath;
Mod0727F.Crpe1.Tables[1].Path :=TSetUpRec(SetupPtr^).DataPath;
Mod0727F.Crpe1.Tables.Verify;
Mod0727F.crpe1.Selection.Formula.Text := S;
Mod0727F.crpe1.Execute;
Mod0727F.crpe1.closejob;
Whats wrong? Any suggestions?
I have tried to verify reports via the VCL in Delphi5. But it doesnt seem to work. I use the following code:
Mod0727F.Crpe1.ReportName := ExtractFilePath (ParamStr(0))+ 'Mod0721R.rpt';
Mod0727F.Crpe1.Tables[0].Path :=TSetUpRec(SetupPtr^).DataPath;
Mod0727F.Crpe1.Tables[1].Path :=TSetUpRec(SetupPtr^).DataPath;
Mod0727F.Crpe1.Tables.Verify;
Mod0727F.crpe1.Selection.Formula.Text := S;
Mod0727F.crpe1.Execute;
Mod0727F.crpe1.closejob;
Whats wrong? Any suggestions?