Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Crystal Reports - Passing Parameters to
Message
From
02/05/2005 13:17:15
 
 
To
02/05/2005 13:10:42
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Miscellaneous
Thread ID:
01010203
Message ID:
01010211
Views:
20
This loads the parameters and calls the report?



>If you already have your crystal report object set up with the report that you are going to run, all you have to do is something similar to below:
>
>tcParameterName = the name of the parameter you want to set.
>tuValue = the value you want to set the parameter to.
>This.oReport = your crystal report object.
>
>
FOR EACH loParamDef IN This.oReport.ParameterFields
>			WITH loParamDef
>				lcParmName = LOWER(.ParameterFieldName)
>				IF lcParmName = "@" + LOWER(tcParameterName) ;
>					OR lcParmName = LOWER(tcParameterName)
>
>					.SetCurrentValue(tuValue)
>					RETURN .T.
>				ENDIF
>			ENDWITH
>		NEXT loParamDef
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform