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

Verify reports via Delphi?

Status
Not open for further replies.

kuling

Programmer
Oct 2, 2001
12
SE
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top