Inserting record does not

Hi all


I use the regular insert statement to insert values into the table.
After me pressing the button create, IE
"ORA-01400: cannot insert NULL into ('APEX_DATA'. '. "" "WC_APEX_MKT_CAMPAIGN_DS '." " CAMPAIGN_CODE")"

but I'm a value in the text box P3_NAME
Please any suggestions are especially appreciated.

Thanks in advance
Robert l

Hello

What you after validation (which don't say item is null) and before insert?
You have another process that could set the item with a NULL value?

BR, Jari

Published by: jarola April 14, 2010 10:15

Tags: Database

Similar Questions

  • Bean inserted record does not show in the table of the ADF until it is saved

    version 12.1.2.0.0

    I do the following to create lines in a table. Line is born but they do not appear in the page. Please let me know what I do wrong or missing.

    vinaykumar2

    code to create the line

    ADFUtils.findOperation("CreateInsertReim").execute ();

    ADFUtils.setBoundAttributeValue ("TypeOfFinancingReim", "SC");

    ADFUtils.setBoundAttributeValue ('year', vYear);

    ADFUtils.setBoundAttributeValue ("quarter","2");

    ADFUtils.setBoundAttributeValue ("Amount", castDoubleToJboNumber (vdivident *-1));

    ADFUtils.setBoundAttributeValue ("Type", "R");

    ADFUtils.setBoundAttributeValue ("Rdtype", "DIV");

    link to 'CreateInsertReim '.

    < action IterBinding = "ForecastReim1Iterator" id = "CreateInsertReim" RequiresUpdateModel = "true" Action = "createInsertRow" / >

    Best regards

    Chatterji S

    You see lines in the db table? If you create lines at the bean. you add partial trigger programmatically.

    as below

    AdfFacesContext.getCurrentInstance () .addPartialTarget (getTableId);

  • X 1 2015 - insert key does not work

    The 'insert' key does not work.

    Are there secrets to activate this key?

    IIRC, nor of those who support the default Overtype. It's a little outdated notion. That said, it can always be enabled in Word:
    https://support.Microsoft.com/en-us/KB/982946

    Notepad does not support overtype however.

  • Sound Recorder does not work XP

    My recorder does not work.  The only way it works is that if I plug a headset with a microphone.  He worked at one time, but I ran HIJACK THIS and think that something has been removed.  Help, please.  Thank you!!

    You have posted on a Windows 7 forum, but referred to as "XP" - Please use the link at the top of the page to return to the XP forum.

    If you meant 'Windows 7' then use the audio troubleshooters in Control Panel, troubleshooting.

    If this does not help, check the devices errors & drivers updated in Device Manager.

  • Stereo video recording does not work after update to ICS

    HII am dido in the India. I've updated my xperia mini (ST15i) to ICS. After that the stereo video recording does not work. Last week, I found a new update for the CSI and I updated to construire.587, now also the same problem exsists. Someone please help

    You can fix it, but you need to root your phone

    Look at the xda forum how do (you must change a setting in a file config. Furthermore, also you can improve some other characteristics of the camera)

  • Why any screen recorder does not work on my computer? __

    Why any screen recorder does not work on my computer?

    Hi I formatted my computer and downloaded all the conditions for this, I downloaded hypercam and installed, I tried to open it in the tool bar and the start menu, it still does not work.
    I downloaded another program for recording of the screen, it also did not work, I tried 3 programs, they all did not work
    by the way my computer: windows vista service pack 2 and the screen recorders have worked before I formatted my laptop
    I need a solution pleaseeeeee

    I got this error in the three programs

    Signature of the problem:
    Problem event name: APPCRASH
    Application name: ScreenVCR.exe
    Application version: 1.5.34.0
    Application timestamp: 2a425e19
    Fault Module name: StackHash_b4c3
    Fault Module Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception code: c0000096
    Exception offset: 02e42a3b
    The system version: 6.0.6002.2.2.0.768.3
    Locale ID: 1033
    Additional information 1: b4c3
    More information 2: d2a8bebd21e0e9bfa99e084d53ece2b6
    3 more information: 74a 3
    Additional information 4: 0480b6e0a2e7a1df44ee618ae8d0084f

    Read our privacy statement:
    http://go.Microsoft.com/fwlink/?LinkId=50163&clcid=0x0409

    Please give me a solution... :(

    my laptop computers Info

    Windows is Windows Vista Home Premium
    Intel (r) core (TM) 2 Duo CPU 26500 2.10 GHz
    3.00 GB RAM
    Mobile Intel (r) 4 Series Express Chipset Family

    =============================================
    Just a thought... maybe your video driver or DirectX needs and update?

    Have you tried the following applications:

    (1) Windows Media Encoder 9 Series
    http://www.free-codecs.com/download/Windows_Media_Encoder_9_Series.htm

    Direct Download Link:
    http://www.free-codecs.com/download_soft.php?d=571&s=327

    First steps with screenshot
    Using Windows Media Encoder
    http://www.Microsoft.com/windows/windowsmedia/HOWTO/articles/ScreenCap.aspx

    (2) Microsoft Expression Encoder 4
    http://www.Microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=75402be0-C603-4998-A79C-becdd197aa79

    Expression Encoder training videos
    http://expression.Microsoft.com/en-us/cc197144.aspx

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Sound Recorder does not record

    Sound Recorder does not record when you select Save the meter shows no activity and there is no reading. When I tested with Skype this counter moves indicate he picks the sound, but reading all that was heard was a buzz. The microphone works fine with Yahoo messenger for calls to land lines to cell phones and Computers computer 2

    Sound Recorder does not record when you select Save the meter shows no activity and there is no reading. When I tested with Skype this counter moves indicate he picks the sound, but reading all that was heard was a buzz. The microphone works fine with Yahoo messenger for calls to land lines to cell phones and Computers computer 2

    ===============================================
    Maybe the following response has already posted by: Azam K. would be worth a peek:

    Sound Recorder does not not under Vista
    http://social.answers.Microsoft.com/forums/en-us/vistamedia/thread/cf6003b6-AADD-4107-a1b7-2c9b88a3f48b

    Volunteer - MS - MVP - Digital Media Experience J - Notice_This is not tech support_I'm volunteer - Solutions that work for me may not work for you - * proceed at your own risk *.

  • Urgent - the sound recorder does NOT work after getting the window system 7 (64-bit)

    I have a problem with the sound recorder. After that I got the system with Windows 7 (64-bit), the sound recorder does not work. It's very urgent because I need to procticing my English pronunciation and the test day is coming.

    Please would you give me help? I really appreciate!

    Thank you very much.

    Eleanor

    A prompt by right clicking and select "Run as Administrator"
    and then at the command prompt, type: chkdsk /f r, then press the Enter key.

    If you are asked to plan the volumn to check the next time that the system restarts,
    Enter: y

    If you know the manufacturing of your hard drive you can also download their diagnostic software.

    Another use: SpeedFan has an online health analysis function
    (SMART tab) for hard drives. It will show how your disks
    compared with other discs of the same brand and model.
    http://www.almico.com/SpeedFan.php

    ========================================================================

    Run the SFC/scannow command. This will check and repair if necessary all of the critical Windows system files.

    Click on start / all programs/accessories then
    Right-click on the command prompt option and select "Run as Administrator".
    (or "Safe Mode" open a command prompt)
    At the command prompt, enter: SFC/scannow

    Windows 7 - order SCANNOW SFC - System File Checker
    http://www.SevenForums.com/tutorials/1538-SFC-SCANNOW-Command-System-File-Checker.html

    How to use the System File Checker tool to fix the system files missing or corrupted on Windows Vista or Windows 7
    http://support.Microsoft.com/kb/929833

    How to analyze the entries in log file generating the program Checker (SFC.exe) resources of Microsoft Windows in Windows Vista:
    http://support.Microsoft.com/kb/928228

    J W Stuart: http://www.pagestart.com

  • Countin records does not?

    Hello guys,.

    At first I would say thank you 1 million for all who share ideas, advice, suggestions and solutions to solve this problem.

    Here is what I have met, I created the formula as MAX (RCOUNT (1)) in a dummy column to count the records and his work on if I used Quick column but when I filtered using prompt Variables namely the "grade of ' and ' grade to ' count of records does not work. Why it does not work?

    Anyone want to share suggestions, advise and I really appreciate a solution thanks to all.

    I finally solved this problem with the formula "MAX (RCOMPTE (box when rank ("nominative DPK".". " Balance") > = @{pvRankFrom} {1} AND the grade ("nominative DPK". "Balance") "<= @{pvrankto}{100}="" then="" "account"."account="" no"="" else="" 0="">

  • Inserting a record does not. Help, please

    Hello;
    I'm puzzled. I am trying to get this code to insert a new record, but as it passes through the code, it loses the record and he does not db insert. What Miss me? I can't understand.

    My code:

    < isDefined ("Form.newEdit_OK") cfif >

    < isDefined ("Form.RecordID") cfif >
    Here's my query, if it is updated and existing record
    < cfelse >
    < datasource = "" #APPLICATION.dataSource # cfquery "dbtype ="ODBC">"
    INSERT INTO news
    (title, newsDate, htmlList)
    VALUES (< cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.title #" >,)
    < cfqueryparam cfsqltype = 'cf_sql_date' value = "#form.newsDate #" >.
    < cfqueryparam cfsqltype = "cf_sql_longvarchar" value = "#form.body #">) "
    < / cfquery >
    < cflocation url = "news_RecordView.cfm" >
    < / cfif >

    What did I miss? I can't understand.

    CFmonger

    I have correct if/else for problems like this:


    true

    fake

  • Insert record does nothing

    Hello

    I'm trying to follow this tutorial to make dynamic Web sites:

    http://www.Adobe.com/devnet/Dreamweaver/articles/first_dynamic_site_pt2.html

    I did part 1 completely and that you was fine until trying to set up the Add Post feature.  The database works well group information in the page manage messages and when I add the server behavior insert record, it looks good, but hitting the "Post!" button does nothing mode live view or in the browser preview.  It does not add the record, nor it redirects to the manage_posts.php link.  There simply nothing even when I'm holding cmd click (I use a Mac).  Other links are working fine.

    I can add a record manually in phpMyAdmin and make it display properly in mode live view on the manage_posts page.

    I use a leapord mac snow running and using the Cloud Dreamweaver CS6 Designer.  Using MAMP for a local server and phpMyAdmin, exactly as they appear in the first part of the tutorial.

    Code is copied below:

    <? php require_once('.. / Connections/check_mag.php');? >

    <? PHP

    If (! function_exists ("GetSQLValueString")) {}

    function GetSQLValueString ($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")

    {

    If (via PHP_VERSION < 6) {}

    $theValue = get_magic_quotes_gpc()? stripslashes ($TheValue): $theValue;

    }

    $theValue = function_exists ("mysql_real_escape_string")? mysql_real_escape_string ($TheValue): mysql_escape_string ($theValue);

    Switch ($theType) {}

    case 'text ':

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "long":

    case "int":

    $theValue = ($theValue! = "")? intval ($TheValue): 'NULL ';

    break;

    case "double":

    $theValue = ($theValue! = "")? doubleVal ($TheValue): 'NULL ';

    break;

    case "date":

    $theValue = ($theValue! = "")? « " ». $theValue. "" "": "NULL";

    break;

    case "set":

    $theValue = ($theValue! = "")? $theDefinedValue: $theNotDefinedValue;

    break;

    }

    Return $theValue;

    }

    }

    $editFormAction = $_SERVER ['PHP_SELF'];

    If (isset {}

    $editFormAction. = « ? ». htmlentities($_SERVER['QUERY_STRING']);

    }

    If ((isset($_POST["MM_insert"])) & & ($_POST ["MM_insert"] == "form1")) {}

    $insertSQL = sprintf ("INSERT INTO new (title, blog_entry) VALUES (%s, %s)," ")

    GetSQLValueString ($_POST ["title"], "text").

    GetSQLValueString ($_POST ['blog_entry'], "text"));

    @mysql_select_db ($database_check_mag, $check_mag);

    $Result1 = mysql_query ($insertSQL, $check_mag) or die (mysql_error ());

    $insertGoTo = "manage_posts.php";

    If (isset {}

    $insertGoTo. = (strpos ($insertGoTo, '?'))? « & » : « ? » ;

    $insertGoTo. = $_SERVER ['QUERY_STRING'];

    }

    header (sprintf ("location: %s", $insertGoTo));

    }

    ? >

    < ! DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional / / IN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" > ""

    " < html xmlns =" http://www.w3.org/1999/xhtml ">

    < head >

    < meta http-equiv = "Content-Type" content = text/html"; Charset = UTF-8 "/ >"

    Add Post < /title > < title >

    "" < link href = "... / styles/admin.css" rel = "stylesheet" type = "text/css" / >

    < / head >

    < body >

    < h1 > what's the buzz? < / h1 >

    < p > < a href = "index.php" > Admin Menu < /a > < /p >

    < do action = "<?" PHP echo $editFormAction;? ">" id = "form1" name = "form1" method = "POST" >

    < p >

    < label for = "title" > title: & #160; < / label > < input name = "title" type = "text" class = "textfields" id = "title" maxlength = "150" / >

    < /p >

    < p > < label for 'blog_entry' = > Post: & #160; < / label >

    < name textarea = 'blog_entry"cols ="45"lines ="5"id ="blog_entry"form ="form1"> < / textarea >

    < /p >

    < p >

    < input name = "button" type = "button" id = "button" form = "form1" value = "post"! / >

    < /p >

    < input type = "hidden" name = "MM_insert" value = "form1" / >

    < / make >

    < p > < / p >

    < / body >

    < / html >

    Which do not appear to be featured here?  Any help would be greatly appreciated.

    Your "poster!" is a button, not a submit button.  Change to a type = 'submit' and see if it works.

    ^_^

  • INsert Into does not work in the query

    I wrote this part of my web site that allows you to insert records in the DB. Right now it does not work properly. I get no error, but I do not also get a new record. Can you see why this is happening? I write two pages of code, the edit page and the action page. I can't understand what Miss me.

    Change page:

    < name = "cfparam url.id' type = 'integer' default = '0' >"
    < name cfparam = "variables. ProjectID' type = "integer" default = "#url.id #" >
    < name = "cfparam variables.proj_name" default = "" > "
    < name cfparam = "variables. Default Description"=" ">
    < name cfparam = "variables. Default CategoryID"=" ">
    < name = "cfparam variables.cat_name" default = "" > "
    < cfif url.id GT 0 >
    "< name cfquery ="projMan"datasource =" "#sitedatasource #" username = "#siteUserID #" password = "#sitePassword #" >
    SELECT c.CategoryID,
    c.Name AS cat_name,
    p.ProjectID,
    p.Name AS proj_name,
    p.Description
    CATEGORIES AS c
    INNER JOIN project GOT p ON c.CategoryID = p.CategoryID
    WHERE p.ProjectID = < cfqueryparam value = "" #URL.ID # "cfsqltype ="cf_sql_integer">"
    AND c.CategoryID = p.CategoryID
    < / cfquery >
    < cfif projMan.RecordCount EQ 1 >
    < cfset variables. ProjectID = projMan.ProjectID >
    < cfset variables.proj_name = projMan.proj_name >
    < cfset variables. Description = projMan.Description >
    < cfset variables.cat_name = projMan.cat_name >
    < cfset variables. CategoryID = projMan.CategoryID >
    < / cfif >
    < / cfif >
    < name cfquery = 'catList' datasource = "" #sitedatasource # ""
    username = "" #siteUserID # "password =" #sitePassword #">"
    SELECT DISTINCT categories. CategoryID, Categories.Name AS cat_name
    Categories
    ORDER BY name
    < / cfquery >
    < head >
    < / head >
    < body >
    < cfoutput >
    < form action = method of "project - Action.cfm" = "post" name = 'projects' id = 'projects '.
    enctype = "multipart/form-data" onsubmit = "saveIt ()" >
    < input type = "hidden" name = 'ID' value = '#variables. ProjectID #">"

    < input type = "text" name = 'proj_name' class = 'textInputs"value =" ' #variables.proj_name # ' maxLength '510' = > "

    "< textarea cols =" "lines =" "name ="PDSeditor"style =" display: none "> #variables. Description # < / textarea >

    < select name = "CategoryID" size = "1" class = 'everyday' >
    < IsDefined ("projMan.CategoryID") cfif >
    < option value = "#projMan.CategoryID #" > #projMan.cat_name # < / option >
    < cfelse >
    < option value = "" >--select a category--< / option >
    < / cfif >
    < cfloop query = 'catList' >
    < option value = "#CategoryID #" > #cat_name # < / option >
    < / cfloop >
    < / select > < / cfoutput >
    < / body >


    «"" "Action page:»»"»

    "< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #
    password = "#sitePassword #" >
    Projects UPDATE
    SET
    Projects.Name = < cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.proj_name #" >.
    Projects.CategoryID = < cfqueryparam value = '#form. "CategoryID #" cfsqlType = "CF_SQL_INTEGER" >.
    Projects.Description = < cfqueryparam cfsqltype = "cf_sql_longvarchar."
    value = '#form. PDSeditor #">"
    WHERE ProjectID = < cfqueryparam value = "" #form.ID # "cfsqlType ="CF_SQL_INTEGER">"
    < / cfquery >
    < cflocation url = 'project - manager .cfm' >
    < cfelse >
    "< cfquery datasource =" "#sitedatasource #" username = "#siteUserID #
    password = "#sitePassword #" >
    INSERT INTO projects
    (Name, Description, CategoryID)
    VALUES
    (< cfqueryparam cfsqltype = "cf_sql_varchar" value = "#form.proj_name #" >,)
    < cfqueryparam cfsqltype = "cf_sql_longvarchar" value = "#form. PDSeditor #">,"
    < cfqueryparam value = '#form. ("CategoryID #" cfsqlType = "CF_SQL_INTEGER" >)
    < / cfquery >
    < cflocation url = 'project - manager .cfm' >


    I don't see why there is no records are transferred to the DB. Can someone help me?

    Thank you.

    Phoenix

    the order of the values that you insert is different from the order of the array
    fields, that they are inserted in your INSERT query:

    INSERT INTO projects
    (Name, body, MYFile, CategoryID)
    VALUES
    (,
    ,
    ,

    NULL = "#NOT fileuploaded # ' >)

    in the part of the INSERTION, the order of the fields is NAME, BODY, MYFILE CATEGORYID
    in the part of VALUES, the order of the values is NAME, BODY, CATEGORYID, MYFILE

    HTH

    ---
    Azadi Saryev
    SABAI - Dee.com
    http://www.SABAI-Dee.com

  • Siri and audio recording does not

    Hello

    the audio recording with my front camera does not work and Siri cannot hear what I say.

    All the other stuff that needs a microphone works perfectly and I installed the latest version of IOS

    Hope someone has an answer to this problem

    Vanessa

    Hello

    Try following the steps outlined here:

  • Insert link does not work

    Insert a valid link using Medallion | link in the text. ('Tie the source of this link to the message' is not checked). The link will appear blue and underlined, as it is supposed to. I send the message to myself. The link will appear blue and underlined in the two messages sent and received, as it is supposed to. The cursor turns into a hand as it is supposed to when I go over it. Also, if I look at the source of the message, the link looks like a normal html link ("for example, hello < a href ="foxandfoxbooks.com"> Fox & Fox < /a > goodbye ")
    ). However, when I go over it, the url appears not at the bottom of the message window as it would normally. When I click it, nothing happens. Does not open the default browser (Firefox). In other emails that I receive, the links work normally. My version of Thunderbird is 31.6.0 running on Windows XP.

    You must enter the complete address, including the Protocol, for example

    http://www.foxandfoxbooks.com/

  • Some records are not in my list of bookmarks; the individual bookmarks can be found in the search, but the record does not show.

    Some records are not in my list of bookmarks; individual bookmarks can be found in the search, but the folder does not appear in the list of bookmarks, and results do not indicate where the individual bookmarks.

    You can use an add-on to display add a column to the Library dialog box for the folder of the bookmark.

    https://addons.Mozilla.org/firefox/addon/show-parent-folder/

    The extension can indicate only the name of the folder or you can view the full path via the menu in the folder. This full path option is useful if a file accidentally gets you drag somewhere in order to explore the it and find it.

    To access the settings of the extension, you can use the page modules. Either:

    • CTRL + SHIFT + a
    • "3-bar" menu button (or tools) > Add-ons

    In the left column, click Extensions. Then, find the Options button under the specific extension.

    A little luck?

Maybe you are looking for

  • U940 FN keys - 11K of satellite does not work after update to 8.1 Windows

    Hello I just updated my Toshiba Satellite Windows 8.1 and the FN keys don't work anymore. the volume and shine those who are still working. I can't even turn the backlight on the keyboard. Can someone help me with this, please?Thank you.

  • Satellite P750 / 02L - Extended warranty issue

    Hey I was wondering if someone could help me on my extended warranty. My computer recently been playing up and I need to consider back in but his past its limited mandate and I lost track of my extended warranty. I have a laptop Satellite P750 / 02L.

  • Re: Satellite A300D-126 - defective graphics card - where to get a new?

    Hello. I got this model and the graphics card is defective,Where can I buy another? Thank you. GPU card is pictured [http://oi53.tinypic.com/1zlf0bb.jpg]

  • Unhandled exception has occurred in your application.

    I am trying to install SQL server 2008 R2 to Windows Server 2008 R2 Enterprise, and I get the error message "unhandled exception has occurred in your application if you click on continue, the application will be Blons this error and attempt to contin

  • My DVD. CD rom is not connected to the pc

    Hello With the help of the window - 8 installed on newly purchased laptop Samsung For a few days, I wasn't able to use my CD DVD drive because there is a driver problem, here's the trouble shoot report could someone help me how this issue be resolved