Using VS2005 / MSSQL Server 2000 / Crystal 8.5 and Crystal .NET
How can I programmatically change the "SQL Where clause" of a ReportDocument
?
Example ( Id' like something like this ) :
MyReportDocument.SQLSelectionFormula = "(ID_PAYS IN (SELECT ID_PAYS FROM
CUSTOMERS))";
(or something like this) :
MyReportDocument.RecordSelectionFormula = " USESQL (ID_PAYS IN (SELECT
ID_PAYS FROM CUSTOMERS))";
PS: I don't want (and Can't) use .NET report based on .NET Datasets.
Thanks for any help !
Steph.