Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports passing sp value
Message
From
07/06/2001 12:31:35
 
 
To
All
General information
Forum:
Microsoft SQL Server
Category:
Third party products
Title:
Crystal Reports passing sp value
Miscellaneous
Thread ID:
00516444
Message ID:
00516444
Views:
48
When I was using the version of CR that was included with VB6 (4.x), I could code something like the following to pass parameters to the report based on MSSQL stored procedure:
CRpt.ReportFileName = "c:\mediadna\listorders.rpt"
CRpt.StoredProcParam(0) = gobjMailingOrder.MailingOrderID
CRpt.StoredProcParam(1) = gobjMailingOrder.MailingTitle
CRpt.StoredProcParam(2) = gobjClient.Clientname
Now, StoredProcParam property doesn't seem to exist in the latest version (I'm using RDC) so how do I pass the values to the parameters?

Also, if I design a CR report from within VB, it adds to the Designers folder in the Project Group but this report seems to be a different format than the report I design from within CR. The files have different file extensions, DSR/DSX vs. RPT respectively. Why and which way should I design my reports?

TIA.
It's "my" world. You're just living in it.
Next
Reply
Map
View

Click here to load this message in the networking platform