Check if htmldb_item is displayed or not

Morning guys,
I created a manual tabulat form but some of the Items are only displayed when there is a request to display them. The problem is, when they are not displayed, the code to update the corresponding database table is not executed, I get an error message.
Now my question:
Does anybody know if it is possible to include a piece of code in the following code to check wether apex_application.g_f11(z) is found or not. If it is not found the code in the loop should not be executed:
  for z in apex_application.g_f11.first..apex_application.g_f11.last loop
    if apex_application.g_f11(z) is not null then
    insert into zf_asn_supplier (suppl_name, suppl_number, contact, email, ordering_address,
    area, sap_plant) VALUES               (apex_application.g_f11(z),
                                           apex_application.g_f12(z),
                                           apex_application.g_f13(z),
                                           apex_application.g_f14(z),
                                           apex_application.g_f15(z),
                                           apex_application.g_f16(z),
                                           apex_application.g_f17(z));
    END IF;
  END LOOP;Thanks for your time and help!!!
Regards Patrick

Thanks for your help varad, but there is still the error message
ORA-06502: PL/SQL: numeric or value error
Perhaps a bit more information about the problem:
I have a SQL report as a manual tabular form and if there are made any changes, the database gets updated (see code below). Now I created another manual tabular form for inserting new data, which containes only one row and is empty (from dual) and which is only displayed when I send a request (Add_Row) through a button.
I know that I can also do that with a UNION ALL statement in my SQL query, but then the empty row is displayed at the end and the bottom of the report, and I want the empty row to be displayed at the top of the table.
If the empty row is displayed, the PLSQL Code works without problems, but when it's not displayed, I get the described error message.
begin
  for i in apex_application.g_f02.first..apex_application.g_f02.last loop
    merge into zf_asn_supplier dest
    using (
select
apex_application.g_f02(i) suppl_name,
apex_application.g_f03(i) suppl_number,
apex_application.g_f04(i) contact,
apex_application.g_f06(i) ordering_address,
apex_application.g_f07(i) area,
apex_application.g_f08(i) sap_plant,
apex_application.g_f09(i) supplier_id
from dual) src
on ( src.supplier_id = dest.supplier_id)
    when matched then update set
              dest.suppl_name = src.suppl_name,
              dest.suppl_number = src.suppl_number,
              dest.contact = src.contact, 
              dest.ordering_address = src.ordering_address,
              dest.area = src.area,
              dest.sap_plant = src.sap_plant
              where src.suppl_name IS NOT NULL and src.suppl_number IS NOT NULL
    when not matched then insert (suppl_name, suppl_number, contact, ordering_address, area, sap_plant)
              values (src.suppl_name, src.suppl_number, src.contact, src.ordering_address, src.area, src.sap_plant)
              where src.suppl_name is not null and src.suppl_number is not NULL;
  end loop;
  for z in apex_application.g_f11.first..apex_application.g_f11.last loop
    if apex_application.g_f11.exists(z) and apex_application.g_f11(z) IS NOT NULL then
    insert into zf_asn_supplier (suppl_name, suppl_number, contact, email, ordering_address,
    area, sap_plant) VALUES             
                                          (apex_application.g_f11(z),
                                           apex_application.g_f12(z),
                                           apex_application.g_f13(z),
                                           apex_application.g_f14(z),
                                           apex_application.g_f15(z),
                                           apex_application.g_f16(z),
                                           apex_application.g_f17(z));
END IF;
  END LOOP;

Similar Messages

  • 17" LCD Cinema Display does not work on G4 Tower with ATI 9000

    Hi,
    I have a G4 Tower with the original AGP ATI Radeon 9000B video card. My friend gave me this unit just recently but not the original monitor. Well after he got his new 30" Cinema Display he gave me the original 17"LCD Cinema Display. I was so happy, plugged it into the card and fired up the CPU but nothing! just blank! It is not getting any power for the USB ports or anything. My buddy says the monitor was checked before I picked it up. I yanked the Video card out and put it back in, inside the CPU was clean as was the card, put it back together and still nothing. The VGA monitor I have is connected via adapter to the other input and works fine. I tried doing display settings and the Cinema is not even detected. Is the Video card fried on the digital side?
    Do I need a new one?
    Here is the info on the CPU:
    Machine Model: Power Mac G4 (AGP graphics)
    CPU Type: PowerPC G4 (2.9)
    Number Of CPUs: 1
    CPU Speed: 400 MHz
    L2 Cache (per CPU): 1 MB
    Memory: 1.5 GB
    Bus Speed: 100 MHz
    Boot ROM Version: 4.2.8f1
    Serial Number: XB0120xxxxx
    Any help wold be appreciated.

    Hi MFG,
    Welcome to the discussions.
    The G4 AGP Graphics model originally shipped with an ATY Rage 128 graphics card. The ATI Radeon 9000 graphics card that is installed in your G4 is not the original card.
    The ATI Radeon 9000 comes with a native ADC port (which you are trying to use). This port is only fully functional if the computer is ADC enabled. Your model of G4 is, unfortunately, not ADC enabled.
    You can confirm this by opening the computer and having a look at the AGP slot (where the graphics card is installed). In ADC enabled Macs, there is an extra slot at one end of the AGP slot to accomodate an "extra leg" that the ADC graphics cards (such as the ATI 9000) have. This extra leg supplies the power and USB feed. You'll probably find this extra leg with no slot for it to go into.
    What this means is that you are not getting power and USB feed through the ADC port to your display.
    If you want to get the 17" ADC Apple LCD display working off this card (it's definitely the LCD display and not the CRT display, please confirm), you will need to use a DVI to ADC adaptor such as this one:
    http://www.drbott.com/prod/db.lasso?code=0111-DVAD
    and run it off the DVI output.
    You can run your VGA screen at the same time (if you want to) off the ADC output by using this adaptor:
    http://www.drbott.com/prod/db.lasso?code=0117-ADCV
    This will work off the ADC port because, although the ADC port is not getting USB or power feed, it's still getting the DVI feed (which is what this adaptor needs).
    Cheers!
    Karl

  • DVI to ADC adapter STudio display will not power on when used with Mac mini

    I have a Mac mini and I just purchased a used apple 17" CRT studio display. I bought the DVI to ADC Adapter as recommended by my Apple store. When I hook everything up (I have checked and redone this two times) The power light will come on for about a second when presses. When the mini powers up there is a blank dark screen. I would appreciate any ideas on this. thanks!
    Mac mini   Mac OS X (10.4.1)  

    Hi
    unfortunately I think the Apple store have sold you the wrong item.
    I'm almost certain the DVI to ADC adapter only works with ADC based flat panel displays. DVI ports can output digital or analogue signals (or a combination of the two). The adapter seems to provide digital, which is why it works with the LCD displays, but not analogue, which is why it doesn't work with the CRT displays.
    Confusingly Apple did a 17" Studio display both as a CRT and LCD.
    Dr. Bott do a similar adapter but they explicitly state it's not compatible with the 17" CRT.
    Unfortunately I'm not sure there's a solution, as the display has an ADC connector yet I'm not aware of any adapters available that will work.

  • Check table TFBEFU_CR: entry 10   does not exist

    Dear all
    When i am doing GR for Order (T.Code : MB31),the system displays the following message.
    Check table TFBEFU_CR: entry 10   does not exist
    plz give me the solution as early as possible,bcaz it is very urgent to me.
    Thanks in advance.
    Regards
    Basava sreenu

    Dear Mr.Basava,
    I'm not sure,but try with this.
    For the particular material which you are using in MB31 for Good's receipt for
    Order,check whether the storage location is present in  T code MMSC-Extend
    material storage location.If not add and save,then try in MB31.
    If useful reward points.
    Regards
    Mangal

  • Slimline s3321p display does not turn on after sleep (Win 7)

    Upgraded from Vista 32 bit system to Win 7 32 bit because of lots of Vista issues. Win 7 resolved most problems but then recently, after a couple of months, display would not turn on following sleep or hibernation. Couldn't fix so did clean install of win 7 64 bit (custom instead of update) to resolve the problem. But same thing in Win 7 64. Installed the multiple MS updates. MS''s Nvidia display driver install always failed and a couple others I downloaded elsewhere failed as well. Did finally get a recent driver from nvidia's website that installed (9.18.13.697), but it didn't solve the problem. Ran the same as the older driver.
    Also tried the following:
    -all kinds of power setting changes
    -different monitor (flatscreen TV is the normal one I use because this is my dvr/media machine)
    -different RGB cable
    -ran win 7 install disk to fix any OS problems
    -inactivating hibernate
    -checking voltage output of all power supply leads following instructions (all within normal tolerance)
    -reconnecting all motherboard leads
    -swapping around the two 2GB memory modules
    -various system checks
    -tried to install various Vista 64 bit fixes/updates from HP website, but they don't install ("don't meet minimum requirements")
    -and more things I can't remember
    HP doesn't seem to have any Win 7 support for this computer, so now I'm at a loss. At the moment I'm leaving the machine on all the time, but don't want to do this forever. I suppose it could be a faulty motherboard, but short of replacement, anything else to try?

    Hi,
    A couple of suggestions:
    Check you have the latest BIOS update - 5.18 - search for sp40834.exe - often these updates improve these functions
    If you are game, try just one RAM stick installed as a test, try slot 0 and 1
    Lastly, try a different video cable - It's a long shot, but it could be key to the issue
    Hope that these suggestions assist
    regards davida
    "Although I am an HP employee, I am speaking for myself and not for HP"

  • Backlight Works But the display is not

    I recently changed my logic board with a used due to a hardware problem.After the installation the MB works fine except that my display is not working (the backlight is working. I connect to an external Display and it works fine. Please Help!!!!i Double check the data cable for screen. Is there anyway to check my hardware for a problem. Unfortunately here in Greece the support is not so very quick and it is very expensive

    You might want to try your homeowner's insurance or see if your credit card offers some protection (that is if you used one to buy it).

  • 23" Display did not come on after disconnecting

    Recently powered down Mac Pro (2007) and relocated to another room along with 23" Cinema display. Powered on and display did not come back on. Checked connection to computer. Only other connection to display is USB from Apple keyboard. Any suggestions regarding what I might have missed? Upgraded iOS just last week and system appeared normal.

    Hi CurticeFarm,
    If you are having issues with your external display shortly after moving your Mac Pro to a different location, you may find the troubleshooting steps outlined in the following article helpful:
    Apple computers: Troubleshooting issues with video on internal or external displays - Apple Support
    Regards,
    - Brenden

  • Apple Studio 17" Display colors not right after thunderstorm

    Noticed this afternoon, after a thunderstorm, that my 17" Apple Studio Display was not displaying colors correctly. All windows are reversed - white background is now black and text is white. Also photos look like 35mm negatives. My blue Apple standard background is now orange. I checked the Display section in the System Preferences and did the ColorSync calibration and troubleshooting (verify and repair). None of this has any affect. Any suggestions?

    Try Control-Command-Option-8
    or select "Black on White" in the "Seeing" tab of "Universal Access" system preference.

  • Sleep iMac display but not iMac system?

    Hello,
    I have a few new iMacs on our network and I'm not sure how to "turn off" the monitor, but leave the machine running? I would like the users to be able to turn of the display, but leave the machine running so nightly backups can take place. I've only been able to "sleep" the entire system + display, but not sure on how to just "sleep" the display?
    Thanks,
    Kristin.

    Unless someone has come up with a hack of which I'm not yet aware we don't have access to manually sleep only the display.
    In System Prefs/Energy Saver you can adjust the auto sleep settings to your liking. For example you can set the Mac to never sleep, but set the display to auto sleep after a period of inactivity.
    In System Prefs/Desktop & Screensaver you can set a Hot Corner that activates the Screensaver on demand by parking the pointer in the hot corner. After the elasped time of inactivity set in Energy Saver the display will auto sleep.
    If you are concerned about security you can set the Mac to require a password when deactivating the Screensaver or waking the display. You set this with a check box in the System Prefs/Security pane.

  • In itunes if "Songs" is selected a column with a Check Sign header is displayed. What does this column mean?

    In itunes with "Songs" selected there is a column labled with a header which is simply a check sign. If you select "View" a pulldown menu titled "View Options" appears and one has the option to either display (or not display) the "Checked" column. I get that. But what does it mean when a song is shown as "Checked" versus not being "Checked" That part I don't understand. Is it used in conjunction with another operator? I understand columns labled "Name", "Artist", "Alumn" but "Check Sign" is new to me. Please help.
    Thanks.

    Diesel,
    Thank you for your response. I never would have figured that out.
    Russ

  • Install of Creative Suite 5 Design Premium upgrade fails - Exit Code: 7 WARNING: Display requirements not met.   - 0 fatal error(s), 105 error(s), 107 warning(s)

    Deactivated Creative Suite 5 Design Premium on old computer to move to a new machine.  The Acrobat 9 installed fine.  But I get the following when installing Creative Suite 5 Design Premium:
    Exit Code: 7
    ------------------------------ Summary ------------------0 fatal error(s), 105 error(s), 107 warning(s)
    WARNING: Display requirements not met for {9B97EC91-B3FD-4BFF-88FC-5345A26AC2E7}
    WARNING: Display requirements not met for {A1BC7068-C1BA-410F-8B9A-DB807C803DE2}
    WARNING: Display requirements not met for {C79312BD-3E76-4474-A10C-1435D1856A4B}
    WARNING: Display requirements not met for {CFC9F871-7C40-40B6-BE4A-B98A5B309716}
    WARNING: Display requirements not met for {E8815668-95B0-443D-AC92-2BFD7DD8F16A}
    WARNING: Display requirements not met for {F9766AC1-1461-1033-B862-DF8FE1C033BE}
    WARNING: Payload cannot be installed due to dependent operation failure
    The immediately above is repeated many times, plus a bunch more.
    Installing on new computer running Windows 8

    Thanks,
    The failure is not because of display requirement but because of the below string in log which is strange.
    Install MSI payload failed with error: 1620 - This installation package could not be opened. Contact the application vendor to verify that this is a valid Windows Installer package.
    1) Do you have any internet security software or Anti-virus software installed ? if yes, could you please turn it off and then check.
      2) Are you installing from DVD or download link ?

  • My apple 3gs wifi not connected modam name displayed but not connected

    my iphone 3gs wifi modem name displayed but not connected

    Did you check the settings for the router?
    iOS: Recommended settings for Wi-Fi routers and access points
    More troubleshooting here:
    iOS: Troubleshooting Wi-Fi networks and connections

  • Why  ipod displays do not disconnect and wont sync but can be restored?

    why  ipod displays do not disconnect and wont sync but can be restored?

    Have you tried resetting your iPod while connected? Then, unplug it, and connect it again.
    Have you tried putting your iPod into disk mode, then connecting it to your computer again?
    Check out this Five R's -> The Five R's
    Also, see all the suggestions in this article, to start with getting your iPod recognized by your computer -> iPod is recognized by Windows but not in iTunes
    -Kylene
    If any post helps or solves your issue, please mark it that way accordingly. Thank you for helping the boards!

  • When I access my website by cellphone, my desktop design format is displayed, and not the cellphone format which I designed.  What can I do?

    When I access my website by cellphone, my desktop design format is displayed, and not the cellphone format which I designed. What can I do?

    Hi
    In Muse, go to File menu-> Site properties, select Phone layout and make sure the option in given screenshot is checked,
    Do let me know if you have any question.

  • Apple Cinema Display is not reading or seeing...

    Hello...
    I would love to have your help on this situation.... My Apple Cinema Display is not reading or seeing my ipod adapter or my printer adapter at the back of the display. it is weird to see this happening now because it was working great until yesterday. I was like huh? how did this happen?
    I tried to fix the mac with OS disc as well as Pro Tech Tool. they did not see anything wrong with it. think that the plug holes are worn out or burnt? thanks for your help... can email me with directions or explanations [email protected] (i rarely come in this boards unless I come up with a problem and i come here to check for information in this board...
    It is Apple Cinema Display - LCD display - TFT - 20" - 1680 x 1050 (It is running strong for 6 or 7 years with no problems at all.)
    thanks!

    The USB circuitry sometimes fails in older Apple displays. This can affect the USB ports, computer control of brightness, and computer sleep. Sometimes unplugging all cables from the display for a few minutes will fix it for a while.

Maybe you are looking for

  • Conversion of String to date

    Hello, I have a date in String format like "01/03/2006" How can I get "Mar-2006" in java? Please Help

  • Item's withholding tax amount is not zero

    Dear All, When ever we clear the vendor account through f.13 system was showing the below mentioned message. S No customer documents selected S No G/L account documents selected I Only accounts with debit and credit postings are included X Item's wit

  • Powerbook to TV Cable Problems

    Hi, I have just bought what I thought would be a quality tv cable so that I can watch dvd's on my tv using my Powerbook. However having tried it I can only get a black and white picture. I have searched the internet and forums and I the only thing I

  • Where can I find a ZIF connector for a DV7T-6c00?

    Hello, I recently had a problem where the cooling fan wasn't functioning properly in my DV7T-6c00 Laptop.  When I was trying to replace it, I broke the ZIF connector which holds the keyboard in place.  I have no idea where to find one - I tried searc

  • Iphone does not connect to computer

    I have an Iphone 3G (16 G) and recently it stopped being recognized by my computer (Windows 7) and Itunes. When I connect it to the computer it doesn't charge nor it appears the lightning icon on the battery bar but it does charges when I connect it