Parameters with run time ver 10

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

Parameters with run time ver 10

Post by Charlie » Thu May 12, 2005 4:18 pm

I^m have a problem when I try to use a date parameter linked to a query in my report. The report works when I run it using the report designer (xbase ver 10.0.012)..............however if I use runtime (on the same computer)the report will go through the record selection process but not select any records. __

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

=> Parameters with run time ver 10

Post by kfleming » Fri May 13, 2005 7:20 am

Try taking away the query and adding a calculated field with expression:__dateparam=datefield____and see if it returns a T in both designer and runtime.____That might help to spot the difference.____Runtime uses the same code as the designer to process query statements.____Kathleen__R&R Support

Charlie
Posts: 8
Joined: Tue Oct 10, 2017 12:44 pm

==> Parameters with run time ver 10

Post by Charlie » Tue May 17, 2005 11:13 am

Kathleen____Sorry for the delay, in getting back to you. I have isolated the problem to a calculated field "B_DATE = IIF(ERROR(CTOD(RIPARAM("BeginDate"))),sDate,CTOD(RIPARAM("BeginDate")))". "sDate" is my date set by the report designers "ParameterRR Fields" function and "BeginDate" is a parameter passed by Rapid Runner.____I have set these reports up so that I can run them from designer, prompting for the parameters and rapid runner with parameters for a group of reports. What I was trying to do was to allow other users to access individual reports with the runtime version prompting the user for the parameters.____The run time version of the report does not calculate a value for B_DATE, however the designer version does!____Regards____Charlie__

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

===> Parameters with run time ver 10

Post by kfleming » Tue May 17, 2005 6:46 pm

Do you have the field B_DATE on the report layout? If not, try adding it to the page header or title.____Kathleen__R&R Support

Charlie
Posts: 8
Joined: Tue Oct 10, 2017 12:44 pm

====> Parameters with run time ver 10

Post by Charlie » Wed May 18, 2005 10:44 am

I did have the B_Date field in the grand total line, putting it in the page header didn^t help. My original report relates a lot of databases so I created a simple report to test just the B_Date parameters, the B_date does not calculate on the runtime version, hence all the records in the database are selected..........in contrast to my report which relates data bases and does not select any records. Do you want me to email you test report and along with the small database (61 records) I have used for testing?____

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

=====> Parameters with run time ver 10

Post by kfleming » Wed May 18, 2005 12:20 pm

Please send to livesupport@livewarepub.com____Thanks.____Kathleen__R&R Support

Post Reply