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!

Submission of a form creating multiple rows in DB table

idm731Apr 11 2014 — edited Apr 13 2014

Hi All

I have created a new Apex application and have created a table with columns - USER_ID, ADDRESS, PHONE, CREATEDON etc

I want to read the USER_ID of the logged in user and populate this field on the form and populate the CREATEDON field with the system date. These two fields are hidden on the form.

Now when the user fills his address and phone on the form and clicks submit, 3 identical rows are inserted in the DB table. The values of logged in user and system date are successfully set.

To set the USER_ID field, I have inserted $APP_USER. in the default value section of the form. I am not able to understand, why Apex is inserting multiple rows even when the submit button is clicked once.

Please help.

This post has been answered by idm731 on Apr 13 2014
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 11 2014
Added on Apr 11 2014
7 comments
882 views