Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports - Passing Parameters to
Message
From
02/05/2005 13:43:55
 
 
To
02/05/2005 13:29:51
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
01010203
Message ID:
01010225
Views:
24
OK lets set this up as an example just so I am clear.

Crystal Report name test.rpt
Has 2 parameters already in the report itself as date type
?StartDate
?EndDate

VFP Form named GetEm
Has to fields
thisform.StartDate
thisForm.Enddate

Could you provide samples of
1) getting the form to see the report
2) getting the form values into the report

If this is to much please let me know.
I have been banging my head on this one for some time and would like to get it to work.


>The code I supplied is assuming that you have a crystal report object already setup with the report that you want to print. Am I not giving enough info? Basically, if you are creating a form that will have UI to get parameter values for your report, as long as that form knows and has access to the crystal report object that you are using, you should be able to use something similar to the code I provided. That code will set one specifice parameter. You will need to create some sort of loop around that to set multiple parameters.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform