Home » Developer & Programmer » Forms » COPY function not passing variable to datablock (Oracle Report 11.1.2.2)
COPY function not passing variable to datablock [message #657757] |
Mon, 21 November 2016 19:26  |
 |
a.harinath@gmail.com
Messages: 6 Registered: September 2016
|
Junior Member |
|
|
Hi All,
I have a strange issue in using the COPY function to pass the date parameter to a datablock.
Attached code is present in the PRE-QUERY trigger in a datablock POS_SEARCH_RESULTS. The form takes the store_no, from_date, to_date, fixed, occasion_id as input parameter. The parameters are passed to another datablock POS_SEARCH_RESULTS which need to query a database table gb_pos_exceptions.
Whenever I pass the from_date in the form, for some reason it never fetch any records and getting "Query Caused No Records To Be Retrieved" error. If I comment the code with respect to the from_date and to_date in attached, then the other parameters are working fine.
Please suggest if there are alternate ways to copy the parameter values to a data block. I tried set_block_property with default_where, still no records error.
Thanks & Regards,
Harinath
|
|
|
|
|
|
Goto Forum:
Current Time: Thu May 01 20:02:06 CDT 2025
|