Skip to Main Content

APEX

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!

APEX Equivalent to an Oracle Forms POST-QUERY Trigger?

elmo j hFeb 5 2019 — edited Feb 12 2019

I would like to create an interactive grid in APEX 5.1 to replace this Oracle Form:

szawait.JPG

The form is based on a Waitlist table, which contains the columns that are circled above.

The Waitlist table also contains a non-displayed Person Key field.

I am looking for a way to replicate the following behavior:

  1. When existing Waitlist records are displayed, the page should display the ID and Name from the Person table, using the Person Key.
  2. When a new record is created, the page should allow the user to enter the ID, then retrieve and populate the Person Key field and Name fields.

In Oracle Forms, these tasks are accomplished with a POST-QUERY and POST-CHANGE trigger, respectively.

I know how to create similar functionality in APEX using a Form with a Report.

I was hoping to use an Interactive Grid, however, so the user has the ability to easily click in the Select box of multiple records to perform other functions on those records (i.e. e-mailing those students, admitting them, etc.)

I'm trying to accomplish #1 using a "GET_ID_AND_NAME" Dynamic Action on the Person Key field. I've tried an After Refresh event and a Change event. Is that the wrong approach? I'm wondering if I'm stuck in Oracle Forms thinking (relating Dynamic Actions to Triggers) and there is another way I should be retrieving these fields for existing records, such as using a Process, Computation, or Validation?

There are over 300,000 records in the Person table, so an LOV is, unfortunately out of the question.

Thanks

Comments

saurabh
you need to drop all the objects belonging to tom manually. you can do is
imp user/password file=file.dmp log=logfile.log show=y
This is the dummy import it will not actually import the data instead it will display all the sql statements that will be executed will importing the dump file. Then using these information you can delete the tables and all object belonging to tom.
1 - 1

Post Details

Added on Feb 5 2019
2 comments
1,804 views