Why can I not use hidden or display point only to store the value for insertion?

Hi, gurus:

I have a question:

I implemented a form with the region of report in a page, the update works OK, but the add function has a problem:

There is a column, offender_ID, which is a foreign key to another table, it must not be null during insertion. However, even I pass the ID of the author of the offence of master page when user click on the button create and he did watch in the form, it must be a text tabled for insert success, why can I not use hidden or display point only to store this value for insert? (If I use hidden or display single element insert will be successful, apex reports I tried to insert a null value for the offender_ID column.)

Thanks in advance.

Sam

Hello

There is a column, offender_ID, which is a foreign key to another table, it must not be null during insertion. However, even I pass the ID of the author of the offence of master page when user click on the button create and he did watch in the form, it must be a text tabled for insert success, why can I not use hidden or display point only to store this value for insert? (If I use hidden or display single element insert will be successful, apex reports I tried to insert a null value for the offender_ID column.)

I think that both hidden and display elements have attributes that can cause problems because of different ways these function elements as the only non-display and feature no hidden items. The only items have a "Save Session State' yes/no 'control'? This can be a problem.

Would you do that? Do these regular items instead and see if you can get those working. Then, we will try to change the fields back to hidden or display only.

Howard

Congratulations. I'm glad you found the solution.

Published by: Howard (in training) April 11, 2013 10:26

Tags: Database

Similar Questions

Maybe you are looking for

  • Unable to access 2 of the 3 lists of email addresses. Why?

    This has just occurred. The list of addresses even comes with all email addresses 3 I. Even when I exit & turn off my computer and return to the e-mail can't always to my 2 other address lists. For example: in the case of e-mail 1 or 2, 3 email addre

  • Poor start speed on Equium A60

    Equium A60 family is incredibly slow to start five family in each user profile. 17 minutes to go to the page "desktop." The laptop was defrag'ed, disk cleaning, etc, etc. All photos taken off the hard drive - it is full of 25% and was never higher th

  • Synchronous channel multiple acquisition USB-6259 (phase measure)

    Hello! I want to create a user-signal (1 k at 20 kHz) in SignalExpress, generate it with the case NOR USB - 6259 BNC and measure with the same device after that the signal has passed a DUT I need the answer for a fixed term. For the moment, I'm tryin

  • Problem of deployment and DOMUserDefRef.dll

    Hello I'm having a problem with the deployment. I took over a project from a co-worker. When we use the same description of the building, in its executable version the DLL DOMUserDefRef.dll is included, but not in my builds. I discovered this only wh

  • Found unknown file in the temp folder.

    original title: unknown exe file Hi, can anyone help please, my firewall (Online Armor), maintains reporting an exe wants to run, for now I continue to block, as I was not able to know what it is, I ran several scans and it comes back clean, the full