Select list - box does not properly

Hello

Can anyone help? I am able to insert a record into the table with the code below, if I select only a single checkbox. I get this error message, if I select more than one check box: ORA-01722: invalid ORA - 02063 number: query execution error ERR-1003 calculation. Note: employee number is a numeric data type in the table. This is my select list field / box used in application. Thank you... Elaine

Procedure is:

create or replace procedure ("SAF_INSERT_MEETING_RECORDS"
EMPNUMBER_in IN SAF_MEETING_INFO_V.EMPNUMBER%TYPE,
COURSEID_in IN SAF_MEETING_INFO_V.COURSEID%TYPE,
TRAINDATE_in IN SAF_MEETING_INFO_V.TRAINDATE%TYPE,
HOURSTRAINED_in IN SAF_MEETING_INFO_V.HOURSTRAINED%TYPE,
NEXTTRAINDATE_in IN SAF_MEETING_INFO_V.NEXTTRAINDATE%TYPE,
DATEADDED_in IN SAF_MEETING_INFO_V.DATEADDED%TYPE,
ADDEDBY_in IN SAF_MEETING_INFO_V.ADDEDBY%TYPE,
DATEMODIFIED_in IN SAF_MEETING_INFO_V.DATEMODIFIED%TYPE,
MODIFIEDBY_in IN SAF_MEETING_INFO_V.MODIFIEDBY%TYPE,
CURDEPT_in IN SAF_MEETING_INFO_V.CURDEPT%TYPE,
CURDEPTDESC_in IN SAF_MEETING_INFO_V.CURDEPTDESC%TYPE,
SEQNUM_in to SAF_MEETING_INFO_V.SEQ_NUM%TYPE)

is

myHoursTrained NUMBER;
mySeq NUMBER;
vCHECKBOXES APEX_APPLICATION_GLOBAL. VC_ARR2;

BEGIN

vCHECKBOXES: = APEX_UTIL. STRING_TO_TABLE (EMPNUMBER_in);

myHoursTrained: = TO_NUMBER (HOURSTRAINED_in);

BECAUSE me IN 1.vCHECKBOXES.COUNT

LOOP

BEGIN
SELECT SAF_MEETING_SEQ.nextval
IN mySeq
DOUBLE;
END;



INSERT INTO SAF_MEETING_INFO_V
(EMPNUMBER, COURSEID, TRAINDATE, HOURSTRAINED, NEXTTRAINDATE, DATEADDED, ADDEDBY, DATEMODIFIED, MODIFIEDBY, CURDEPT, CURDEPTDESC, SEQ_NUM)
VALUES
(vCHECKBOXES (i), COURSEID_in, TRAINDATE_in, myHoursTrained, NEXTTRAINDATE_in, SYSDATE,
ADDEDBY_in, DATEADDED_in, MODIFIEDBY_in, CURDEPT_in, CURDEPTDESC_in, mySeq);


END LOOP;
END;

Hello:

Select the values from a multiple selection list/check boxes are returned as a ':' string of selected values separated. Therefore, the "EMPNUMBER_in" of the procedure parameter must be defined as a data type "varchar2' rather than 'number' type as it currently seems.

CITY

Tags: Database

Similar Questions

  • Selection of drop-down list box does not appear

    I've read several display on this site and others.  I can't find the right solution to get the drop-down list box to work.  I publish for Flash player 10 and AS 2.  The final file will be imported into an Articulate/PPT file.

    I'm simulating a form that my audience must fill.  2 text fields, I use a drop-down list box to select the appropriate entry.  If they leave the screen of the form, I need save their answers, so they need not start from the beginning.  I use global variables.

    My problem occurs when I try to fill the drop-down list using the previously selected public response box.  I tried to use setSelectedIndex.  It works insofar as the choice highlights in the drop-down list box, but the actual selection does not appear in the text box.  What I do pay Combobox.text = selection?

    just assign the selectedIndex property.

  • Web site works not-selection drop-down list box does not correctly

    Http://mobile.free.fr/moncompte -commerce site
    A drop-down list box shows that the user can choice phone numbers.
    The result is always a warning message 'phoe number still used '.
    FireFox version: 29.0.1
    plugin: WOT, ADBLOCK +.
    Best regards

    Many issues of the site can be caused by corrupted cookies or cache.

    • Clear the Cache

    Press < Alt > or < F10 > to display the toolbar. Then;
    Tools > Options > advanced > network > content caching Web: clear now

    and

    • Delete Cookies

    Press < Alt > or < F10 > to display the toolbar. Then Tools > Options > privacy.

    Under historical, select Firefox will use the custom settings.
    There is a button on the right side, called View the Cookies.

    If there is still a problem,
    Start Firefox in Safe Mode {web link}
    While you are in safe mode;
    Press the < Alt > or < F10 > key to bring up the toolbar... Then
    Tools > Options > advanced > general.
    Find and stop using hardware acceleration.

    Dig safe web sites and see if there is still a problem. Then restart

  • The selection list value does not change when the page is sent

    Hi all

    I have a selection list that acts as an entry for the report. the page is submitted using a button.
    The button uses the branch option "redirecting to page in the application. I select the same page.

    The problem is when I change other values in the value list always takes the first value

    I want to know if the problem is with the key or select list. What should I do about it?

    Concerning
    REDA

    Renon wrote:

    I tried your suggestion. Now that I ask, is the report is expected to show only when the button request is passed. I read to present the action of page the name of the button acts as a request.
    so now my report status is request = Expression1 and value of expression1 takes GO tell button name.

    The report does not appear but. I checked the session. It has the value of the selection list and the page is submitted as but the report is not displayed.

    ASK is disabled before the exposure treatment page unless it is set in a branch or a URL, this is why it has no value when they are referenced in your State in the region.

    Set the attribute request in your branch for & request to make available at the course to see the page the current value of the demand for treatment.

  • PES 10 text box does not properly

    After you draw a text box, the text will not continue beyond to halfway. This happens with each alignment option. Any suggestions?

    I would try to reset the text tool.

    With the type tool selected, click on the small white arrow facing down and choose Reset tool.

  • When I press email and attach the photo, my email 'box' does not appear as formerly, and still on the bottom of the screen it says "1 selected item."

    When I press email and attach the photo, my email 'box' does not appear as formerly, and still on the bottom of the screen it says "1 selected item."   And I also waited for a period of time as well very reasonable.  What can I do?

    original title: EMAILING A PHOTO OF "LIBRARIES/IMAGES".

    Hi BrianS.OR,

    1 are you referring to the client program webmail or email?

    2. what e-mail on the computer client program do you use? Is - this Windows Mail or Windows Live Mail?

    3. What size are the image files?

    4. did you of recent changes on the system?

    You can temporarily disable a security software and firewall installed on the system and check if the problem persists.

    Note: Be sure to enable the security software on the computer after checking.

    Hope this information is useful.

  • Open file dialog box does not appear after a certain time in the latest version of Illustrator CC 2014

    Hi all

    Everyone knows a problem doing a file > open after using Illustrator for awhile? I select file > open and nothing happens after I used Illustrator for awhile. Doesn't seem to have any model, the open a file dialog box does not appear only so I close and reopen Illustrator.

    Thank you

    Ben

    benkop,

    There seems to be a bug in CC2014, that appears when you open Illustrator / place dialogue together for display column and sort by date. You can adapt it to display by name or a list of point of view.

  • URL address box does not display the current page.

    With the 4.0.1 update, the URL address box does not display the current page.

    All that shows is the text: «Go to web site»

    To now see the url of the current page, you need to make a right click the empty space is the address box and press the button "esc".

    Is there a way to display the url of the current page?

    This problem may be caused by an extension that is not working properly.

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

  • Toshiba 47L7453DG - CEC does not properly using exernal amplifier

    I bought Toshiba 47L 7453 a few days ago.

    It is connected to the amplifier Onkyo TX-NR535 but CEC does not properly. Volume control works fine but On / Off or stanby does not at all.

    My previous TV Toshiba 42XV635DG was communicated by the CEC with the Onkyo even without any problem.

    The wire connection is HDMI 1.4 certified.
    Maybe the problem is with the firmware of the TV.

    Maybe someone had the same problem.

    Any suggestion?

    Thank you

    Hello

    From my point of few TV and amplifier are connected some CEC (Volume control) functions that work. I think you should check the auto power settings and HDMI CEC standby control system.

    Manual, you will find some important notes:
    http://www.Toshiba-OM.NET/LCD/PDF/English/L7453-424755-English.PDF

    _Page: 11_
    + You can control the basic functions of audio/video devices connected with s TV remote if you connect an HDMI-CEC compatible AV amplifier or playback device. +
    + If several devices are connected, the HDMI CEC control function may not work correctly. +

    _Page: 86 - 87_
    + When the point to activate the HDMI CEC control in the menu of HDMI CEC control configuration is defined on.
    + On, also allocated to individual features will be activated. +
    + When the connected equipment work, HDMI CEC control automatically detects the TV input selection. If the TV is in standby mode, it will be automatically reactivated. +
    + If the TV is off (standby), television will send a message turns off (standby) all devices HDMI CEC control connected to the TV. +

  • Setup.exe does not properly

    I'm trying to upgrade to Windows 7, and at one point in the configuration of several programs are listed to be uninstalled, when it gets to the Realtek USB 2.0 card reader a pop window that says setup.exe does not properly.  Cannot uninstall in Control Panel either. Also tried disabling antivirus and firewall as a suggested site. Is there a way around this kind of Setup Windows 7 allows you to work around this problem

    Repeat: You need upgrades to Windows 7 not Windows updates.
    http://social.answers.Microsoft.com/forums/en-us/w7install/threads

    Please post on the forum for Windows 7 update/install. TaurArian [MVP] 2005-2010 - Update Services

  • I'm opening a JPEG in Adobe Photoshop, but 'Open with' dialog box does not Photoshop

    I'm opening a JPEG in Adobe Photoshop, but the 'Open with' dialog box does not Photoshop in the list of available programs. I have attempte

    Original title: file association

    When Adobe Photoshop is installed it is automatically added to the open with command and usually it is the editor who is added, okay, so in your case, it is not added.

    Right click of your peak, point to open with, click on choose program.

    Put a check mark in the box, always use... If you wish.

    Click on browse, it opens the program files, double-click Adobe, double-click on Photoshop Elements.

    PhotoShopElementsEditor.exe-click, and then click Open

  • Scrolling the page does not properly respond to BlackBerry Curve9360

    Hello friend

    I have developed applications for BlackBerry (JqueryMobile, Phonegap) the application works fine in BlackBerry Torch 9800.

    But once I've installed in BlackBerry Curve9360, scrolling of the page does not properly, that I am not able to view the complete list of items and long text.

    Help, please

    I came up with the solution, the problem occurs because BlackBerry Curve 9360 isn't a touchscreen, there fore scroll doesn't work.

    In my applications, I add 2 pages "index.html."

    on the first page, you have to test if the device is not touch and redirect to the second page.

    Do not use the page for "BB Curve" scroll and any other animation like CSS "" - webkit - transform: translate3d "»

    The other js script go without a problem.

    The page "BB Curve" to redesign the html for use with the cursor,
    For example, the menu is smaller, the police is smaller.
    the size of the screen is fixed.
    Dimension height is better indicate a value min eg 300px
    etc...

  • 5 Lightroom Import dialog box does not appear previews

    I just installed Lightroom 5 and the import dialog box does not appear for previews of the images.  Without previews, there are no images to select for import.  It doesn't matter if they are JPG or CR2 and if I try to import from the camera card or hard drive.  Version 4.4 also failed at first, but after fiddling around, I finally got the old version to work.  Help, please!

    I use Lightroom 5, Windows 7 64 bit.

    I've expanded the dialog on the right boxes and Destination Panel on the right was the problem.  As soon as I developed it, all the images in the preview window began to appear!

  • Open Directory dialog box does not work in FM 10 if client API is not built with 10 FDK

    Hello

    We have a FrameMaker API client that we have maintained for more than 10 years, since before the FM 6.

    We just brought the code of FDK 7 to 9 FDK so that we can finally move 7 FM support and focus on FM 9 and 10 features. Almost all the code works fine, but we have problems in a function that uses F_ApiChooseFile in FV_ChooseOpenDir mode.

    We do nothing special in the code (I am aware that by passing a value into directory argument can cause the function returns without displaying the dialog box) and you use F_ApiChooseFile in its simplest form:

    IntT err;

    StringT stemp;

    ERR = F_ApiChooseFile (& stemp, (StringT) "Select the folder containing the files to be processed.", (StringT) "", (StringT) "", FV_ChooseOpenDir, (StringT) "");

    When we create our DLL using FDK 9 client and run it in FM 9, the directory chooser dialog box appears correctly and the user can select a directory.

    When the same DLL is running in FM 10, the dialog box does not appear and the function returns immediately with err =-1 and FA_errno no error reported (as if the user has clicked Cancel).

    If I recompile the DLL using FDK 10 dialog work in FM 10, so the problem seems to certainly be related to backward compatibility with a DLL built with an earlier version of FDK.

    Unfortunately, you cannot run a DLL of FDK in FM 9 10 and we do not want to distribute and maintain two different versions of our DLL to support 9 FM and FM 10 users.

    Is there a solution to this?

    This bug was introduced in FM10. Until FM9, FV_ChooseOpenDir was #defined as "3", while in FM10, it was changed to '4' (as part of the evolution of these sets to focus on the value of flag-based). What customers can do to overcome this, is to get the FM using 'FP_VersionMajor' version, and for versions before FM10, they can pass 3 'in FM10, as an argument, the argument will be 4'.

    We will ensure that we will honor the 3 and 4 as "FV_ChooseOpenDir" in the future, but until then, workaround above should work.

    Kind regards

    Rene beauclair

  • Safari Web Clip does not properly

    Hello everyone

    I have a problem with safari Web Clip and that is does not properly for almost all pages, as example, I participate in a contest of therapy dbrand/unbox, and I really don't want to open the web page, whenever a new winner is announced, so I created a web clip, but it does not work well When I click the web clip icon he asked the location of the clip and when click on done, the web clip is from a different region and I can't fix.

    Is this some sort of bug or can I fix it myself?

    Web Clip still didn't work if the cut element remains in the exact same on exactly the same site. This is apparently not the case here.

    Dashboard widgets in general, are an old technology that has not been updated in many years.

Maybe you are looking for

  • How to open hotmail messages, delete, compose, etc.. ? It has stopped working since May 31.

    May 31, 2010 my hotmail has stopped working correctly with Firefox. Once logged into my account, I see that I have new messages, but can not read or read old messages. I can't delete, compose, or do anything with my messages. I can access hotmail thr

  • «Percentages in labview»

    Beginner, How you would show a percentage of thin values by using an indicator in labview 8.2

  • NON-US XOOM

    That's beautiful Motorola finally said of U.S. customers 3.2 is set up (some time after that it really starts to happen). I would like to know when my Canadian xoom will get the update. I trusted to Motorola when you said that I would get the SD usin

  • HP 5550 inkjet printing

    Hello, good day. Windos Viata Business operating system Having a problem printing continuously. (1) after 2 or 3 pages, it partially stops the next page (2) then middle and bottom lights starts flashing (3) if it does not continue printing appeard sq

  • Windows live messenger is not available now why.

    Why the Messenger is not active rightnow