| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> Re: restrictive query in Form builder
There are two ways of acheiving this,
product_type = 'SCREW'
2. For the s_products create a pre-query trigger and set the where condition here.
Suppose you have a field called Product_type and you want to select all parts of TYPE SCREW then
in the pre-query trigger set
:s_products.product_type := 'SCREW'
In both cases the where clause will always be set whenever query is executed.
Hope this helps,
Sunder
Snowie wrote in message ...
it may be very simple question, but i'm just beginner.
ok, when i open form I can fill it with 'execute_query'. Now I didn't want to pull out all records, I have criteria that will return actually 1 record.
what i have now in button response trigger
please, help.
Genady Received on Sun Oct 10 1999 - 17:43:04 CDT
![]() |
![]() |