Find Query Window 's work? ( flashlight )
Tip: When you click on the toolbar Find button, the system will query_find this Trigger.
When app_find.query_find this procedure, the system automatically set the:P arameter.g_query_find to TRUE.
Step one, click the Flashlight button, pop up the query window
In query block, Query_find Trigger (override) writes the following code:
App_find.query_find (' <result window> ', ' <query window> ', ' <query block> ');
--
App_find.query_find (' xxwip_waferlot_v ', ' xxwafer_find ', ' xxwafer_find ');
Step Two, specify the block to be queried , execute the query
In the when-button-pressed trigger of the Find BUTTON in the Query window, write in the following code:
App_find.find (' <result block> ');
Equivalent to Go_block (' <result block> '); Execute_query;
--
:p Arameter. G_query_find: = ' TRUE ';
App_find.find (' xxwip_waferlot_v ');
:p Arameter. G_query_find: = ' FALSE ';
Step three, edit the query conditions
Step 3, in the Result block pre-query this block Trigger (before), the code is as follows:
If:P arameter.g_query_find = ' TRUE ' Then
<result block item>: =: <query block item>;
...
:P arameter.g_query_find: = ' FALSE ';
End If;
--
if (:p arameter.g_query_find = ' TRUE ') then
if (: Xxwafer_find. CUSTOMER is isn't null) then
: Xxwip_waferlot_v.customer: =: Xxwafer_find. CUSTOMER;
End If;
...
:p arameter.g_query_find: = ' FALSE ';
End If;