Parameter Field

Meeting place for R&R customers and clients to share tips and ideas. Post your questions, messages or problems here.
Post Reply
KingFu_(Guest)
Posts: 2
Joined: Tue Oct 10, 2017 12:44 pm

Parameter Field

Post by KingFu_(Guest) » Thu Jun 22, 2006 11:04 am

I am passing a value to my parameter field named ^MyParam^. Created a calculated field with the systax below and wanted to print it^s value on the report but the calculated field prints blank. Why?__riParam("MyParam ")

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

=> RE: Parameter Field

Post by kfleming » Thu Jun 22, 2006 4:01 pm

Your runtime control table would need to set the value for MyParam.__If it is a text control file you would include a line that says:____MYPARAM=MYVALUE____and the report would print "MYVALUE" when run via runtime.____Note that you can use ParameteRR fields directly in a report in place of the older RIPARAM() syntax.____Kathleen__R&R Support

KingFu_(Guest)
Posts: 2
Joined: Tue Oct 10, 2017 12:44 pm

==> RE: Parameter Field

Post by KingFu_(Guest) » Thu Jun 22, 2006 4:28 pm

I selected SQL Select from the Database menu and enterd__ _<<@MyParam = ^1/1/06^>>____I added a calculated file named MyValue and entered the expression:___RIPARAM("MyParam")____And then inserted the field MyValue to the report.____But, the report prints blank.

kfleming
Posts: 5795
Joined: Tue Oct 10, 2017 12:44 pm

===> RE: Parameter Field

Post by kfleming » Fri Jun 23, 2006 10:00 am

Is what you really want to do is to pass a date field as part of a SQL select WHERE clause?____Kathleen__R&R Support

Post Reply