How to determine if an item exists in the g_fxx table in the 4.1.1.00.23?

Version 4.1.1.00.23

Hello

I have a form to tabs created manually using the APEX_ITEM package. I now apply for parole / hide a column.

I added a request for conditional display, but since the MRU is created manually as well when the column is not there is no reference in the table of g_fxx for this column and the MRU fails with the error "no data found".

What I "think" I want is to add a condition around the code that refers to this column to determine if this column is in the table and if we do operate the section of the code. The MRU is PL/SQL (of course).

I am looking for is:

IF(APEX_APPLICATION.g_f02.COUNT > 0) THEN ...

What is the proper way to determine if the column exists?

Best way to do it?

Something not clear what I'm doing?

Thank you

Joe

The g_fxx variables are associative arrays (aka the hash in Perl, etc.)

Read here: PL/SQL Collections and records

(it was the first link in google)

Since it is a HASH, 1,3,5 elements can exist which is not 2,4,6.

If an element exists

varname. EXISTS ( element_val )

for example

if apex_application.g_f01.EXISTS(1)  -- see's if the first element exists
then
...

MK

Tags: Database

Similar Questions

  • I have three problems___the is first I get the error messages form I mesh and cannot access my profile or friends list ' ___Microsoft online which is a whoosie of my gave me element to modify registry keys but no items exist in the regisry

    I get the error messages form I mesh and cannot access my profile or friends list '

    MIicrosoft online which is a whoosie of my gave me element to modify registry keys but no items exist in the regisry

    For iMesh, you can go here...

    http://www.iMesh.com/community.html

    I don't understand the other two problems that you encounter.  If you please would explain what they are and what, if any, error messages that you receive.  Also, what antivirus do you use, and you run Windows XP SP3?

    --
    Gina Whipp
    Microsoft MVP (access)

    Please post all responses on the forum where everyone can enjoy.

  • How to determine if 2 IPs are on the same subnet

    Hi all!

    I have a Client/Server connection over a network, and I wants to determine if they are part of the same subnet.

    The server is installed on one OR cFP-2220, so I can't use all the exec system commands to access network settings.

    My code is so far simply determine if the client and server are both on the local host.

    Please see attachment!

    Concerning

    Paul

    Hello!

    Thanks for the reply.

    After a google search, I think it is the right way to do it: (Ref)

    XOR (B and H) (M & a)

    Thank you to direct me in the right direction!

    Kind regards

    Paul

  • How to check if a node exists in the XML file?

    I was asked to program a method to import data from xml files in our Coldfusion 8 Web site, I am new to the use of XML.

    My method worked however I encountered the following error:

    Element NETWORKORDER. SECONDARYADDRESS. CONTACTNAME is undefined in MYDOC.

    Investigation on the node in the XML file was not present.

    Is there a method I can use to resolve this error by checking if a node exists in the xml file, which works with my current code below?

    <!--> reading XML file
    < cffile action = "read" file = "D:\website\XML\#FileName#" variable = "myxml" >
    < cfset mydoc = XmlParse (myxml) >

    <!--> to extract data from the XML of NDS file
    < cfset aPrimaryContactName =(#mydoc.NetworkOrder.PrimaryAddress.ContactName#) >
    < cfset aPrimaryContactNumber =(#mydoc.NetworkOrder.PrimaryAddress.ContactNumber#) >
    < cfset aPrimaryContactNumber = tostring(#mydoc.NetworkOrder.PrimaryAddress.ContactNumber#) >
    < cfset aPrimaryContactAddressLine1 =(#mydoc.NetworkOrder.PrimaryAddress.line1#) >
    < cfset aPrimaryContactAddressLine2 =(#mydoc.NetworkOrder.PrimaryAddress.line2#) >
    < cfset aPrimaryContactAddressLine3 =(#mydoc.NetworkOrder.PrimaryAddress.line3#) >
    < cfset aPrimaryContactAddressLine4 =(#mydoc.NetworkOrder.PrimaryAddress.line4#) >
    < cfset aPrimaryContactAddressLine5 =(#mydoc.NetworkOrder.PrimaryAddress.line5#) >
    < cfset aPrimaryContactCity =(#mydoc.NetworkOrder.PrimaryAddress.City#) >
    < cfset aPrimaryContactPostcode =(#mydoc.NetworkOrder.PrimaryAddress.PostalCode#) >
    < cfset aPrimaryContactCounty =(#mydoc.NetworkOrder.PrimaryAddress.CountrySubdivision#) >
    < cfset aPrimaryContactCountryCode =(#mydoc.NetworkOrder.PrimaryAddress.CountryCode#) >
    < cfset aPrimaryContactCountry =(#mydoc.NetworkOrder.SecondaryAddress.Country#) >
    < cfset aSecondaryContactName =(#mydoc.NetworkOrder.SecondaryAddress.ContactName#) >
    < cfset aSecondaryAttentionOfName =(#mydoc.NetworkOrder.SecondaryAddress.AttentionOfName#) >
    < cfset aSecondaryContactNumber =(#mydoc.NetworkOrder.SecondaryAddress.ContactNumber#) >
    < cfset aSecondaryContactAddressLine1 =(#mydoc.NetworkOrder.SecondaryAddress.line1#) >
    < cfset aSecondaryContactAddressLine2 =(#mydoc.NetworkOrder.SecondaryAddress.line2#) >
    < cfset aSecondaryContactAddressLine3 =(#mydoc.NetworkOrder.SecondaryAddress.line3#) >
    < cfset aSecondaryContactAddressLine4 =(#mydoc.NetworkOrder.SecondaryAddress.line4#) >
    < cfset aSecondaryContactAddressLine5 =(#mydoc.NetworkOrder.SecondaryAddress.line5#) >
    < cfset aSecondaryContactCity =(#mydoc.NetworkOrder.SecondaryAddress.City#) >
    < cfset aSecondaryContactPostcode =(#mydoc.NetworkOrder.SecondaryAddress.PostalCode#) >
    < cfset aSecondaryContactCounty =(#mydoc.NetworkOrder.SecondaryAddress.CountrySubdivision#) >
    < cfset aSecondaryContactCountryCode =(#mydoc.NetworkOrder.SecondaryAddress.CountryCode#) >
    < cfset aSecondaryContactCountry =(#mydoc.NetworkOrder.SecondaryAddress.Country#) >

    Since you already have the XML parsed in a document, the easiest is to use xmlSearch(). Take a look at the doc, it is pretty easy to use. Something as simple as:

    To the most complex as:

    And in both cases:

    Read the doc and google is your friend "coldfusion xmlsearch.

  • How to determine if a directory exists

    How can I determine whether a directory or folder exists? for example, I have c:\some_directory, how to know in TestStand sequence if it is the path to an existing directory?

    Search in the help of TestStand.  On the Index tab, type FindPath.

    If you still have any questions let me know.

  • How to determine if a function exists?

    I'm using Oracle 11 g.

    Suppose there is a function named "temporary". How do you determine if this function is SQL command prompt? Help, please.

    Hello

    Select * from object where owner = 'YOUR SCHEMA NAME' and object_type = 'PROCEDURE '.
    and Object_name = 'YOUR PROCEDURE '.

    Mention the name in block LETTERS or use superior.

    Thank you & best regards
    Srikkanth.M

  • How can I get 13 items to read the RAW of Nikon D750 files?

    I move my camera since Nikon D3200 to Nikon D750. With the D3200 I used 11 items to edit JPEG and RAW files, but discovered today that 11 elements is not compatible with the D750 to read RAW files. I downloaded the trial version of 13 items - which is compatible with the Adobe help desk, but taken with the D750 RAW files aren't always be seen. However, I don't see the RAW files that I took with the D3200.

    Same card memory is used and I formatted the card when I changed from one camera to another.

    What I am doing wrong? I almost always shoot RAW, so I need to be able to the files.

    I wonder if the 13 elements is really compatible with the D750.

    I want to add that I use a Mac.

    Thank you!

    Shannon

    Just use help > updates in the element editor 13 photoshop to get camera raw 8.7, so you don't have to use the DNG converter and then you will be able to open the nikon D750 directly in 13 EPS files.

  • How can I get 12 items to recognize the raw files from Canon G16?

    Elements comes pre-loaded with ACR 8.0.  The G16 is not recogniized up to 8.2 ACR.  PSE is not automatically updated to the latest version.  How do I download 8.2 and install it into 12 parts?  I tried the obvious ways without success.  Need of some detailed advice on how to do it.

    You will need to do a manual install since adobe does not vista or xp update automatically again. The General procedure is described here (this is for PES 11, but everything is in the same place in PSE 12):

    http://forums.Adobe.com/thread/1266134

  • How to determine if my Virtual Center is the correct version

    Hi people,

    I'm a quick way determine whether my Virtual Center Server is running the latest version.  I have attached the screenshot of the Build.  Is this the best way to determine the version and I'm up to dayte?

    Thank you!

    Rick

    And Yes, you are using the current version of VirtualCenter - VirtualCenter 2.5 update 3 (build 119598)

    • Kyle

  • How to determine which program is running on the compactRIO?

    From the host PC, is it possible (preferably programmatically) to tell what is running on the CompactRIO?  For example, suppose that in the project, under the tree crio, I open foo.vi and press the run button - can I run a VI on the PC which questions if foo.vi is running or not?  Can or if I'm doing a build for foo.vi specification, I run a VI on the PC which will verify that it is indeed running?

    My first thought was something as a reference to the open Application (specify the IP address of the crio) > reference open VI (specify foo.vi) > Exec.State property, but no luck.

    Thank you

    I answered my own question - see

    http://forums.NI.com/T5/LabVIEW/loading-and-running-a-VI-on-a-cRIO-from-a-PC/TD-p/796657

    Properties in time real CompactRIO > VI Server, you need to check the box for the TCP/IP Protocol, which is disabled by default.

    In addition, when you do a Build for a VI specification and set it to run at startup, you can always insert the name of VI (not c:\ni-rt\startup\startup.rtexe) as the path of the VI on the VI reference open.

  • How configure first of 12 items to open the RAW of Nikon D810 NEF files?

    I'm running a Windows 8.1 with Premiere elements 12.  New Nikon D810 RAW files are not open to the program.  Is there a plug-in or other fix for this?

    It worked.  Thank you.

    Greg

  • How to determine the index of an item in a cluster?

    I have a small program that I put in place, as I'm just trying to get up to speed on Labview.  I have a boolean cluster buttons and for some reason the top button of the page is coming through as Index 3.  There are four buttons in the cluster, but for some reason, there has been a change.  The top must be Index 0.  How to do the things fixed?  I do not see how to determine the index of each button through properties.

    Thank you

    The order of items in a cluster is the same as the order that you added them. To change the order, just right click and select "rearrange controls in the group. If you use Unbundle by name, you don't care the order.

  • How can I do to if a menu item exists, doesn´t repeat menuItem when I install another version of the app?

    Hello

    I m developing an application printing email and I want to put a menu item in the emails with the option 'print with... '. ». I use this:

    PrintByMenuItem myMenuitem = new PrintByMenuItem (0);

    ApplicationMenuItemRepository.getInstance (.addMenuItem (ApplicationMenuItemRepository.MENUITEM_EMAIL_VIEW),
    myMenuitem, ApplicationDescriptor.currentApplicationDescriptor ());
    ApplicationMenuItemRepository.getInstance (.addMenuItem (ApplicationMenuItemRepository.MENUITEM_EMAIL_EDIT),
    myMenuitem, ApplicationDescriptor.currentApplicationDescriptor ());
    ApplicationMenuItemRepository.getInstance (.addMenuItem)
    ApplicationMenuItemRepository.MENUITEM_MESSAGE_LIST, myMenuitem, ApplicationDescriptor.currentApplicationDescriptor ());

    My application has two versions, with ads or no ads. When the user to install the first version and then they want to install the second version, the application will overwrite and will be only one application in the device.

    The problem is that when I install the second version, the menu item 'print with... '. ' appears twice. How can I do to if a menu item exist in enamel, doesn´t repeat the menuItem?

    I ve tried using removeMenuItem before adding the menu item with:

    ApplicationMenuItemRepository.getInstance (.removeMenuItem)
    ApplicationMenuItemRepository.MENUITEM_EMAIL_VIEW, myMenuitem);
    ApplicationMenuItemRepository.getInstance (.removeMenuItem)
    ApplicationMenuItemRepository.MENUITEM_EMAIL_EDIT, myMenuitem);
    ApplicationMenuItemRepository.getInstance (.removeMenuItem)
    ApplicationMenuItemRepository.MENUITEM_MESSAGE_LIST, myMenuitem);

    But doesn´t works.

    Thank you.

    This is not how it would work production / the device. After restarting the device, the menu item will be deleted from the repository, and you will have a menu item.

    However, if you leave your app and try again (if you save the menu items at the application startup) the you'll thus duplication. If this isn't the case, then you should not worry.

    If this is the case, then I suggest your store a veriable TERM as a check to ensure no duplicates.

  • How to determine if the variable exists?

    I need to find a way to determine if a variable exists.  Because if I don't and evaluate a variable that does not exist, I get error.  This is why I need to do this.  I need to print only the failures in the sequence and the problem is that I can print only the failures that causes failure of the sequence.

    I have reduced that there is a Boolean status in the list of TS results. StepCausedSequenceFailure.  The question is this variable exists only when the step caused sequence failure checkbox is checked, otherwise this variable is not in the results.  Thanks for help.

    Use PropertyExists ("Locals.ResultList [x]. TS. "" "StepCausedSequenceFailure"), where "x" is the index of the step that interests you as a precondition to any approach that will access this value. "

    I hope this helps.

    -Jack

  • How to determine the number XP or XP 64-bit operating systems.

    Hello
    I need to download a driver but need to know if I have Windows XP, XP 64. I run Internet 7 SP3 if that makes a difference. Properties-General-he reads the slot system Microsoft Windows XP Home Edition Version 2002 Service Pack 3. I think this answers the question that it is not XP 64 but want to make sure and would appreciate any help.

    XP Home does not come as an x 64 version.

    How to determine whether a computer is running a 32-bit version or the 64 bit version of the Windows operating system. http://support.Microsoft.com/kb/827218

    Windows XP if you have Windows XP, there are two ways to determine if you are running 32-bit or a 64-bit version. If one does not work, try the other.

    1. Click Startand then click run.
    2. Type sysdm.cpl, and then click OK.
    3. Click the general tab. The operating system is displayed as follows:
      • For a 64-bit version operating system: Windows XP Professional x 64 edition Version < year=""> appears under System.
      • For a 32-bit version operating system: Windows XP Professional Version appears under System.

      Note is a placeholder for a year.

    1. Click Startand then click run.
    2. Type winmsd.exe, and then click OK.
    3. When System summary is selected in the navigation pane, search for processor under item in the details pane. Note the value.
      • If the value that corresponds to processor starts with x 86, the computer is running a 32-bit version of Windows.
      • If the value that corresponds to processor starts with ia64 or AMD64, the computer is running a 64-bit version of Windows.

    If you cannot determine the number of bits of the operating system with these methods, go to the "Next steps" section (of the KB article)

Maybe you are looking for