Passing parameters with VB6
Passing parameters with VB6
Hello, ____I have a small interface I built with VB6. I^m using the R&R.ocx, and I^m not sure how to code to pass text info to the report. I have an RIPARAM calculated field on the report to test. I see a tab on the control properties for User Parameters, but unclear how to use it.____Any help or examples would be appreciated.____Kind Regards,__MH
=> RE: Passing parameters with VB6
You can set the parameter value in the code that you use to launch the report.__Here is the example from the help file on using the parametersString property.____RRReport1.ParametersString = "Title=Cumulative Earnings"____In your report you would have a calculated field with the expression:__RIPARAM("Title")____when you run the report through the custom control, the value of this field would be "Cumulative Earnings"____Kathleen__R&R Support
-
- Posts: 0
- Joined: Sat May 05, 2018 10:28 am
==> RE: Passing parameters with VB6
Thank you for your quick response,____We have an old version of R&R, I think that it^s ver 8. I^m not sure what help file your referring to?? The example worked just fine, but I want to pass some user input from a text box.____Thank you for your Help!!____Kind Regards,__Michael
=> RE: Passing parameters with VB6
I don^t know if you had seen my second reply, I was wondering if you could show me how to code to pass user input from a text box to an RIPARAM ____Thank you for your help,__Mike Hoover