Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to use SET_BLOCK_PROPERTY with DEFAULT_WHERE

759465Nov 27 2010 — edited Nov 29 2010
Hi,

Please guide for the following

I have a detail block, containing various columns like dmonth, dyear, locationid, itemcategoryid etc. I want to filter out only those records which match four parameters. I wrote like this( mentioned below) but it is not giving the correct result.

GO_BLOCK('dep_vw');
set_block_property('dep_vw',default_where,'locationid ='||''''||:cb1.locid||''''||' and
trim(dmonth)='||''''||:cb1.monthh||''''||' and dyear='||''''||:cb1.yearr||''''||'and itemcategoryid='||''''||:cb1.catgry_id||'''' );

Control Block (cb1) has parameter variables.

Any solution please.

Regards.
This post has been answered by Ammad Ahmed on Nov 27 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 27 2010
Added on Nov 27 2010
3 comments
10,656 views