Please tell me how to handle list item in this concern

please tell me how to handle list item in this concern
My problem is:
i have a category table with column categoryname(varchar type)
I want to display the records of categoryname in a drop down list (i.e., list item )
So ..please tell me how to do it
Thanks in advance..

This code is just a sample from the Help documentation. It won't work until you modify it for your form.
Why do you have "steps" in your code? You are suppose to do what the steps tell you. You don't place the steps in your code. The steps must be removed from your code.
Step 1 code goes in a program unit, not in a trigger.
Step 2 and 3 code usually goes in a trigger.
You will have to replace the names of the items and record group with your own names as you have defined them in your form.
step 1: create a procedure in your application
procedure load_list(itm in VARCHAR2, rg in VARCHAR2) is
group_id RecordGroup := Find_Group(rg);
list_id Item := Find_Item(itm);
Begin
if Populate_Group(group_id)<>0 then
Message('Unable to populate record group');
Raise Form_Trigger_Failure;
end if;
Clear_List(list_id);
Populate_list(list_id, group_id);
end;
step 2: create a record group named rg_cat and assign Record Group Query to something like "select categoryname from category"
step 3: call this procedure as
load_list('categoryname','rg_cat');

Similar Messages

  • HT5961 My iCloud in setting doesn't have the account option so I cannot change my number? Can someone please tell me how I am meant to change this so I can set up my keychain

    everyone is saying go settings>iCloud>account
    but but my phone doesn't have the account option and I can't change my bl**dy number and it's really beginning to drive me insain.
    Someone please help :,(

    If your trying to change the number used for iCloud keychain, you change it on an iOS device or Mac that is using your keychain as follows:
    iOS 7.0.3 or later: Tap Settings > iCloud > Account, then tap Keychain. Make sure the phone number under Verification Number is correct. If not, enter another phone number.
    OS X Mavericks v10.9 or later: Choose Apple () > System Preferences. Click iCloud, then click Account Details. Make sure the phone number listed under Verification number is correct. If not, enter another phone number.
    Otherwise, please explain what number you are trying to change and what version of iOS you're running.

  • The Firefox spell checker has the option for me to add custom words to the dicionary. Please tell me how to delete a word from this file of custom words because a mispelled word got in there by mistake.

    I want to know how to delete words from the custom dictionary in the spell checker that I put there by mistake.

    In your profile directory, the file is '''persdict.dat''' and you should know how to get to your profile. One way is to enter '''about:support''' in the location bar then click on "Open Containing Folder". Or go through the Help menu > Troubleshooting Information > ...
    You can edit with wordpad, or notepad++, but not with notepad,
    because there is one word per line and you will not see that in notepad after Firefox has updated it.&nbsp; Update after closing Firefox.
    I will have to change my Spell Check documentation to not suggest notepad
    :http://dmcritchie.mvps.org/firefox/tab_capacity/001_with_underscore.htm#spellcheck

  • I can not eliminate ASK engine from the list. It came back by itself. Please, tel me how I can eliminate this problem. Another problem, this browser is no longer compatible with some institutions. This new version might have some problems.

    '''I can not eliminate ASK engine from the list. It came back by itself. Please, tel me how I can eliminate this problem.
    Another problem, this browser is no longer compatible with some institutions. .'''

    Step by step, how did you arrive at seeing this agreement?

  • Ipod shuffle 1GB Re: how to resurrect a dead shuffle? Nov 5, 2008 4:42 AM (in response to Ipod shuffle 1GB) there is no sound cant find in Itunes not in showing in drive's list please tell me how to restore or reset red light showing when try to power on

    Ipod shuffle 1GB
    Re: how to resurrect a dead shuffle? 
    Nov 5, 2008 4:42 AM (in response to Ipod shuffle 1GB)
    there is no sound cant find in Itunes not in showing in drive's list please tell me how to restore or reset red light showing when try to power on or conect with USB....
    If you can plz help to fiX it
    thanx 
    intel pc , Windows 7, core 2 Dule Core

    Here is the answer: go to http://support.apple.com In the search box at the top left type in the number 304996 and hit enter. This will bring you to a page with 4 solutions. Click on solution number 1 and follow the instructions. This should fix it.
    bigdogdan

  • TS1702 i recently purchased an in-app item for my skylanders lost island game. I purchased that jewel pile worth Au$1.99, my account has already been debited but I did not receive the jewels.  Can anyone please tell me how I can get a refund or at least g

    i recently purchased an in-app item for my skylanders lost island game. I purchased that jewel pile worth Au$1.99, my account has already been debited but I did not receive the jewels.  Can anyone please tell me how I can get a refund or at least get what I actually purchased?

    iTunes Store Support
    http://www.apple.com/emea/support/itunes/contact.html

  • Please tell me how to easily scan a document to email on my Canon mg5420 all-in-one printer

    Please tell me how to easily scan a document to email on my Canon mg5420 all-in-one printer; the directions are hard to understand.

    Hi figgienewton,
    To scan an item to be attached to an email, please follow these steps:
    1. Open the IJ SCAN UTILITY program.
    2. In the Canon IJ Scan Utility window that opens, click SETTINGS.... in the bottom right of the window. The Settings dialog box appears.
    3. Click the DOCUMENT SCAN or PHOTO SCAN option on the left pane of the window, depending on what you would like to scan.
    4. In the right pane of the window, locate the APPLICATION SETTINGS section, then click on the radio button next to the ATTACH TO EMAIL option.
    5. In the drop-down arrow next to the ATTACH TO EMAIL field, select your email application. If your email program is not listed, please click the ADD... button to navigate to the location of your email program, then click OK to have that email
    program added to the drop-down field.
    6. Once your email program has been specified in the APPLICATION SETTINGS section, click the OK button at the bottom of the window to save the changes. The IJ Scan Utility main screen appears.
    7. Click the DOCUMENT or PHOTO button, depending on what you are trying to scan and attach to email. Scanning starts. When the items are finished scanning, your email program will be launched and the scanned item(s) will be attached.
    Hope this helps!
    This didn't answer your question or issue? Please call or email us at one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

  • Please tell me how I can set an array field to an object?

    Hi,
    Please tell me how I can set the plID (an array field) to an object? This result is for one Agent object. Suppose the Agent object only has these two fields.
    If a sql query result is something like this (which is one object).
    agent_last PLID
    smith      5
    smith               6
    smith               7
    Agent agent = new Agent();
    StringBuffer sql = new StringBuffer();
    int count = getPLNo(agentID);// # of the query result
    try {
    SQL tsql = new SQL();
    Connection conn = tsql.getConnection();
    sql.append("SELECT agent_last, b.PLID ");
    sql.append("FROM Agent a, PL b ");
    sql.append("where a.agent_id = b.agent_id ");
    sql.append("and a.agent_id = ? ");
    PreparedStatement st = conn.prepareStatement(sql.toString());
    st.setInt(1, agentID);
    ResultSet rs = st.executeQuery();
    while (rs.next()) {
    agent.setAgentID(agentID);
    agent.setAgentLast(rs.getString(1));
    for ( int i = 0 ; i < count; i++ ) {               //how to do it?
    agent.setPrivateLabelID(new int[] {rs.getInt(2)});//how to do it?
    st.close();
    rs.close();
    tsql.close();
    } catch (SQLException e) {
    System.out.println("SQL: " + e.getMessage());
    throw new Exception(e.getMessage());
    } catch (Exception e) {
    System.out.println("Except: " + e.getMessage());
    throw new Exception(e.getMessage());
    return agent;
    }

    If that's not what you're looking for, then you get
    what you pay for. :-)Hi fmeyer75,
    Thank you very much for your input. That's exactly what I was looking for and it works!!!!
    For anyone who has similar issue, I changed the code a little to make it work with my existing ones. I never splited queries before, so please tell me if there's a better way to handle it.
    I keep the first half part and changed a little for the second half. Below is what I use now
    sql.setLength(0);
    sql.append("SELECT PLID ");
    sql.append("FROM PL ");
    sql.append("where agent_id = ? ");
    List list = new ArrayList();
    PreparedStatement st2 = conn.prepareStatement(sql.toString());
    st2.setInt(1, agentID);
    ResultSet rs2 = st2.executeQuery();
    while (rs2.next()) {
                 list.add(new Integer(rs2.getInt(1)));
    agent.setPrivateLabelID(new int[list.size()]) ;
    for ( int i = 0 ; i < list.size(); i++ ) {
    agent.getPrivateLabelID() = ((Integer)
    list.get(i)).intValue() ;
    st.close();
    rs.close();
    st2.close();
    rs2.close();

  • How to copy List item from one list to another using SPD workflow using HTTP call web service

    Hi,
    How to copy List item from one list to another using SPD workflow using HTTP call web service.
    Both the Lists are in different Web applications.
    Regards, Shreyas R S

    Hi Shreyas,
    From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
    If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
    As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
    So I recommend to achieve this goal programmatically.
    More references:
    https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
    Thanks,
    Victoria
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Some one please tell me how to reset version 10.6.8 i just bought off cl

    some one please tell me how to reset version 10.6.8 on macbook air  i just bought off craiglist and forgot to ask if password on there

    Clean Install of Snow Leopard
         1. Boot the computer using the Snow Leopard Installer Disc.  Insert the disc into the
             optical drive and restart the computer.  After the chime press and hold down the
             "C" key.  Release the key when you see a small spinning gear appear below the
             dark gray Apple logo.
         2. After the installer loads select your language and click on the Continue
             button. When the menu bar appears select Disk Utility from the Utilities menu.
             After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
             size.)  Click on the Partition tab in the DU main window.  Set the number of
             partitions to one (1) from the Partitions drop down menu, set the format type to Mac
             OS Extended (Journaled, if supported), then click on the Partition button.
         3. When the formatting has completed quit DU and return to the installer.  Proceed
             with the OS X installation and follow the directions included with the installer.
         4. When the installation has completed your computer will Restart into the Setup
             Assistant. After you finish Setup Assistant will complete the installation after which
             you will be running a fresh install of OS X.  You can now begin the update process
             by opening Software Update and installing all recommended updates to bring your
             installation current. Start by downloading and installing Mac OS X 10.6.8 Update Combo v1.1.

  • How to get List Item attachments name without write any custom code or any database query?

    Hi,
    How to get List Items attachments name without write any custom code or any database query?

    You can get it from Rest,
    There are 2 options,
    1) create a 'Result Source' which has a search query for that List which has attachments 
     - Use rest query to get the 'Filename' , it will have the attachment file name 
    For example, if the result source id is : 73e6b573-abf8-4407-9e5f-8a85a4a95159 , then the query will be 
    http://[site URL]/_api/search/query?querytext='*'&selectproperties='Title,Path,FileExtension,SecondaryFileExtension,Filename'&sourceid='73e6b573-abf8-4407-9e5f-8a85a4a95159'&startrow=0&rowLimit=100
    You can refine the query, be giving proper 'querytext'
    2) Use the List rest api
    For example if your list guid is :38d524a1-e95c-439f-befd-9ede6ecd242e
    You can get he attachments for 1st item using this 
    http://[Site URL]/_api/lists(guid'38d524a1-e95c-439f-befd-9ede6ecd242e')/items(1)/AttachmentFiles
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Could you please tell me how to configure NSP as « trusted » system  in the latest trial version of NetWeaver?

    Hi,
    Could you please tell me how to configure NSP as « trusted » system in the latest trial version of NetWeaver?
    Please see the attachment.
    Thanks,
    Marc

    Hi Marc,
    go to transaction STRUSTSSO2, generate a certificate for your system, then add it to certicate list and to ACL for your client.
    There will probabely be  several parameters to set in instance profile if you plan to use SSO.
    Best regards,
    Vincent

  • ORA-06502: numeric or value error, please tell me how to assign ...

    Dear all people!
    my code:
    declare
    string1 varchar2(300);
    string2 varchar2(65);
    begin
    string1 := ....
    string2 := substr(string1,1,60);
    end;
    when i run program in debug
    at command "string2 := substr(string1,1,60);" it raise error ORA-06502;
    Please tell me how to assign substr(string1,1,60) to string2 (max length of string2 is 65);
    I'm looking to forward to receiving your response!
    Thank you very much;

    Only INVALID_NUMBER exception is handled and also VALUE_ERROR should be handeled. You can resolve it by handling VALUE_ERROR exception or by adding WHEN OTHERS as I did in following example.
    SQL> create or replace FUNCTION to_number_or_null (
      2      aiv_number in varchar2 )
      3      return number is
      4     /*
      5     to_number_or_null.fun
      6     by Donald J. Bales on 12/15/2006
      7     An errorless to_number( ) method
      8     */
      9  begin
    10     return to_number(aiv_number);
    11     exception
    12     when INVALID_NUMBER then
    13      return NULL;
    14     when OTHERS then
    15      return null;
    16     end to_number_or_null;
    17  /
    Function created.
    SQL> select to_number_or_null('A') from dual;
    TO_NUMBER_OR_NULL('A')
    ----------------------With kind regards
    Krystian Zieja

  • Unknown driver missing can you please tell me how to enable it

    I have got an Advent 7096 and the 4 USB`s are not working I looked in the device manager and I noticed an UNKNOWN
    driver under the USB list is listed could anybody please tell me how to enable it. Thanks in advance Brian.

    First try to run Windows update and check the optional updates.
    If no driver is distributed through Windows Update, you should contact the manufacturer or vendor of the hardware to supply the correct driver.
    http://www.adventcomputers.co.uk/product-download-select?field_model_range_tid=36&field_model_type_tid=All&=Show+models
    In case none of these yield results, it might be worth investigating what chipset is used in the laptop and checking with the chipset manufacturer whether they have a driver available.
    note that many manufactureers will remove support for the Windows XP models as XP itself is no longer supported by Microsoft.
    MCP/MCSA/MCTS/MCITP

  • Can any one please tell me how I can print off my iPad air from my hp printer????

    Can any  please tell me how I can print from my iPad air to my hp printer??????

    Setup AirPrint Printer
    1. Buy an AirPrint enabled printer; see list below
    http://support.apple.com/kb/ht4356
    2. Run the CD provided and set printer and iPad on the same network
    3. Start printing from your iPad using AirPrint

Maybe you are looking for

  • DUMP: CONNE_IMPORT_WRONG_COMP_TYPE /CX_SY_IMPORT_MISMATCH_ERROR

    Hi guru, i have this dump: Errori run-time        CONNE_IMPORT_WRONG_COMP_TYPE  Eccezione              CX_SY_IMPORT_MISMATCH_ERROR        Verific. il     18.04.2008 a  11:52:00 Error when attempting to IMPORT object "GT_YBKPF_ALV".                   

  • QuickTime plugin 5 or higher needed quicktime plugin 7.5.5 installed on IE7

    Hey everyone! I am trying to get quick to work properly with some book software. When I click video in a pdf it will successfully popup a window and play the video. However if I close the video and attempt to open the same video again I get the error

  • OGG 1403错误解决方法

    OGG oracle goldengate 1403错误解决方法 1. 错误描述 WARNING OGG-01154 Oracle GoldenGate Delivery for Oracle, repyxb.prm: SQL error 1403 mapping SGPM.P_SMS_SEND to SGPM.P_SMS_SEND. WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, repyxb.prm: Repositionin

  • VA01 - Error determination for condition MWST

    Hi experts, I have a problem in the transaction VA01 since the system is determining the value of the condition MWST wrongly. Material - Tax data: Client - Tax data: VK12 - MWST tax condition: However, when I create the sales order the system determi

  • Update new entries in BCO View

    Hello Experts, I have created a Business Configuration Object (BCO) with a BCset and a BC view which I have added to the Fine Tuning. However, the data which we have to enter is more. Is there any way to import the data in the BC view using an excel