Hi Experts,
I'm working on forms 10g, i have requirement to develop find form and display results in data block.
1. query form will have 4 parameters and submit button
2. once parameters are selected and clicked on submit button it should pull data from table A and display data in data block which is based on table B.
I know that if data block is based on table A, then i can execute_query in pre query trigger of data block by dynamically appending WHERE clause or QUERY_FIND standard functionality as well.
Since my data block is based on table B, i want to follow below process.
in WHEN_BUTTON_PRESSED trigger
1.GO_BLOCK('DATA_BLOCK')
2. write pl/sql block with cursor to pick up data from table A by passing parameters from query form
3. Loop through it and display data in data block based on table B.
4. exit on last record of loop
Is my approach correct or any better solution.
Please advise.