RIPARAM Slow Record Retrieval
Posted: Wed Aug 11, 2004 11:55 am
Hi,____We have a view in a Sybase database which contains around 51,000 records. I have designed a report against this view and fired it up via a control table text file. ____One of the entries in the text file passes a value to the report (for argument^s sake lets call the optional entry Text1). I have then created a calculated field on the report whose expression looks something like RIPARAM(^Text1^)____Following this I created a filter on the report to only include records where a field in the view matches the value contained in the calculated field.____The problem is that when the report is executed it takes an age to bring through any data. However, if I put the contents of the Text1 entry directly into the filter, the correct record is displayed more-or-less straight away.____Any help (if you can understand the terrible explanation) on this problem would be greatly appreciated.____Thanks,____Mike.