CREATE 'CrystalRuntime.Application' chApplication.
chReport = chApplication:OpenReport(cReportPath + prm-rpt).
chCtrlFrame:CrystalActiveXReportViewer:ReportSource = chReport.
SetDataSource is a METHOD of iDatabase not iReport. So you would have to GET the Database from the report such as:
[ Com-Handle-Var = ] :Database.
and then use the SetDataSource on iDatabase such as:
NO-RETURN-VALUE : SetDataSource (
Now with that said I do recall having issues doing that in Crystal version 10 and 11. Give it a try.