How to enable Multi-record select in Oracle Forms

Hi
we recently upgraded to R12 -- 12.1.3.
we have a requirement in which I should let the users select multiple records in a tabular Form (custom form).
Currently we have a custom form that displays Open sales orders with credit holds. After selecting the record, the user can release the hold on the order by clicking on a button. The requirement is for enabling selection of multiple records and release.
We have a similary functionality in 'Quick Sales Orders' form. In this form, multiple lines can be selected by pressing 'CTL' and clicking on the records.
I read about using APP_MULTI for this. But I couldnt figure out how to enable the multiple selection.
If someone could throw some light on this, it would be greatly helpful

See http://stackoverflow.com/questions/3291758/how-do-i-use-the-app-multi-package-to-support-multi-selection-in-my-oracle-form for steps/sample code.
Sandeep Gandhi

Similar Messages

  • How to disable 'Clear Record' option in Oracle Forms deployed in Orcl Apps

    Dear Members,
    I have developed a custom form which is deployed in Oracle Applications.
    In this form I want to disable the 'Clear Record' option to prevent users from clearing the record.
    Can any one please tell me how can I do it?
    Thanks in advance.
    Best Regards,
    Arun Reddy D.

    Hi,
    In your Forms---> trigger--> KEY-CLRREC-----> NULL;
    You cant clear any record.

  • How to create Static Record group in Oracle Forms??

    Dear All,
    I have the following values V1,V2 to be placed in my list item field during DML operations.
    I have an example to create the record group based on the table; whereas i have never tried for static value creation.
    Could you please guide me how can i acheive this.?
    Thanks ....
    Regards,
    Sunil.G

    Thanks dhivya for your reply.
    Actually what happens is; when i use the same methodology as you mentioned, it is asking me to set the Initial value.
    Whereas in my applications; user has to manually select any of the values i.e eithe V1 or V2 for the first time.
    Moreover i have found the query:-
    I have created a static record group RG_VERSIONS i.e creating a new record group with the static values mentioning the "Column names " as "Version_label" which i have given the column values as "V1" and "V2" and then another column name as "Version_value" with the column values as "V1" and "V2".
    Then i used the below query in the WHEN-NEW-FORM-INSTANCE trigger:-
    PROCEDURE p_when_new_form_instance
    IS
    l_rg_id recordgroup;
    l_item_id item;
    BEGIN
    --Populating value for  Version Type based on static record group
    l_rg_id := FIND_GROUP ('RG_VERSION');
    IF NOT ID_NULL (l_rg_id)
    THEN
    l_item_id := FIND_ITEM ('BLOCKNAME.COLUMN_NAME');
    POPULATE_LIST (l_item_id, l_rg_id);
    END IF;
    END p_when_new_form_instance;
    Then it was working fine.
    Thanks for your time.
    Regards,
    Sunil.G
    Edited by: Sunil G on Jun 27, 2010 6:00 AM

  • Help implementing mouse multi record select deselect with shift/ctrl click

    Forms 10.1.2.3 on Solaris Sparc 64 bit
    We are trying to implement mouse multi record select/deselect using shift and ctrl click. I have read that you need the appcore library to do this but because we aren't using Oracle Applications (EBS) we can't have the appcore library.
    Has anyone implemented this function without the appcore library?
    Thanks

    Why not just use a CheckBox to indicate the selected records? The downfall to almost all methods is that you end up looping through the block to see which records are selected. An alternative to this is to use a record group to record which the selected records. I created a nice little wrapper package to work with Record Groups (RG). Take a look at Forms - Record Group Processing (Duplicate Value Checking). As the name suggests, this example demonstrates how to use an RG to perform duplicate checking, but you can easily adapt the process to keep track of selected records. I use RG's for this all the time. By using the RG, it eliminates the need to LOOP through the datablock - which can be very time consuming. Instead, you loop through the RG and only navigate to the specific records you need too in order to process that record. Looping through the RG is much faster than looping through the block - especially if you have a lot of records displayed in your block.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • How to implement the spell check in oracle forms 10g or 6i...

    How to implement the spell check in oracle forms.
    Is there any different method is there.
    Please help me....
    Praveen.K

    Here is one different from Jspell..
    In 6i client/server you can call MS Word spell checker using OLE. Below sample code for 6i.
    For 10g you will need webutil to use same code. install webutil and just replace "OLE2." with "CLIENT_OLE2."
    PROCEDURE spell_check (item_name IN VARCHAR2)
    IS
       my_application   ole2.obj_type;
       my_documents     ole2.obj_type;
       my_document      ole2.obj_type;
       my_selection     ole2.obj_type;
       get_spell        ole2.obj_type;
       my_spell         ole2.obj_type;
       args             ole2.list_type;
       spell_checked    VARCHAR2 (4000);
       orig_text        VARCHAR2 (4000);
    BEGIN
       orig_text := NAME_IN (item_name);
       my_application := ole2.create_obj ('WORD.APPLICATION');
       ole2.set_property (my_application, 'VISIBLE', FALSE);
       my_documents := ole2.get_obj_property (my_application, 'DOCUMENTS');
       my_document := ole2.invoke_obj (my_documents, 'ADD');
       my_selection := ole2.get_obj_property (my_application, 'SELECTION');
       ole2.set_property (my_selection, 'TEXT', orig_text);
       get_spell :=ole2.get_obj_property (my_application, 'ACTIVEDOCUMENT');
       ole2.invoke (get_spell, 'CHECKSPELLING');
       ole2.invoke (my_selection, 'WholeStory');
       ole2.invoke (my_selection, 'Copy');
       spell_checked := ole2.get_char_property (my_selection, 'TEXT');
       spell_checked :=SUBSTR (REPLACE (spell_checked, CHR (13), CHR (10)),1,LENGTH (spell_checked));
       COPY (spell_checked, item_name);
       args := ole2.create_arglist;
       ole2.add_arg (args, 0);
       ole2.invoke (my_document, 'CLOSE', args);
       ole2.destroy_arglist (args);
       ole2.RELEASE_OBJ (my_selection);
       ole2.RELEASE_OBJ (get_spell);
       ole2.RELEASE_OBJ (my_document);
       ole2.RELEASE_OBJ (my_documents);
       ole2.invoke (my_application, 'QUIT');
       ole2.RELEASE_OBJ (my_application);
    END;Call it like this: SPELL_CHECK ('BLOCK.MY_TEXT_ITEM' );

  • Get three previous records of the current record in an Oracle Form

    Hi,
    I need to get three previous records of the current record in an Oracle Form
    Sorry for the lengthy explanation:
    I have a table name: ARCHIVE_DATA with column name: coll_time and its data type DATE.
    SQL> SELECT COLL_TIME FROM ARCHIVE_DATA;
    COLL_TIME
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    12-AUG-05
    10 rows selected.
    SQL> select to_char(coll_time,'dd-mon-yyyy:HH:MI:SS') from ARCHIVE_DATA;
    TO_CHAR(COLL_TIME)
    12-aug-2005:02:42:00
    12-aug-2005:02:43:00
    12-aug-2005:02:44:00
    12-aug-2005:02:45:00
    12-aug-2005:02:46:00
    12-aug-2005:02:47:00
    12-aug-2005:02:48:00
    12-aug-2005:02:49:00
    12-aug-2005:02:50:00
    12-aug-2005:02:51:00
    10 rows selected.
    This is the Requirement:
    In a Form's Block(BLK1), for example: the current_record is the fifth record from the top
    (i.e. 12-aug-2005:02:46:00)
    When the fifth record is the current_record and When I click a button, three previous records of the
    current_record should be populated on the screen.
    See what I did:
    I created another table same as the first table(ARCHIVE_DATA) and its name is: THREE_RECS.
    I am inserting three records from the first table(ARCHIVE_DATA) into the second table: THREE_RECS
    which are less than the current record and ORDER BY DESC.
    CANVAS:
    Two blocks (BLK1, BLK2) based on ARCHIVE_DATA and THREE_RECS are on the same CANVAS.
    But the first block (BLK1) which is based on the first table:ARCHIVE_DATA is populated with one record and the
    second block (BLK2) is empty.
    So when I click a particular button (ex: prev_recs), the second block(BLK2) should be populated with
    three previous records of the current record( :BLK1.COLL_TIME)
    (off course :BLK2 populates with one record and use arrows or scrollbar to get the other two records)
    This is the code I wrote in the trigger and followed by the error:
    1 BEGIN
    2 DECLARE
    3 cursor c1 IS
    4           SELECT MONITOR_ID,
    5               SAMPLE_ID,
    6               COLL_TIME,
    7               DEW_POINT
    8          FROM ARCHIVE_DATA;
    9 cursor c2(passing_date IN date) IS
    10           SELECT MONITOR_ID,
    11               SAMPLE_ID,
    12               COLL_TIME,
    13               DEW_POINT
    14          FROM (SELECT MONITOR_ID,
    15               SAMPLE_ID,
    16               COLL_TIME,
    17               DEW_POINT
    18          FROM ARCHIVE_DATA
    19          ORDER BY COLL_TIME desc)
    20      WHERE COLL_TIME < passing_date;
    21     BEGIN
    22     FOR cur_rec in c1
    23     LOOP
    24          IF (cur_rec.COLL_TIME = to_date(:BLK.COLL_TIME,'dd-mon-yyyy:HH24:mi:ss')) then
    25     FOR second_cur_rec in c2(second_cur_rec.COLL_TIME)
    26          LOOP
    27      IF c2%rowcount < 4 then
    28               BEGIN
    29               INSERT INTO THREE_RECS
    30                    values(second_cur_rec.MONITOR_ID,
    31                         second_cur_rec.SAMPLE_ID,
    32                         second_cur_rec.COLL_TIME,
    33                         second_cur_rec.DEW_POINT);
    34               COMMIT;
    35               END IF;
    36 END LOOP;
    37 END IF;
    38 END LOOP;
    39 END;
    40 END;
    This is the error I am getting:
    Error 103 at line 14
    Encountered the symbol "(" when expecting one of the following
    a PL/SQL variable or double quoted string
    an expanded name
    an expanded name link
    a table reference __expression
    a key word
    Resuming parse at line 126, column 46
    Thanks in advance

    Change C2 to:
    cursor c2(passing_date IN date) IS
      SELECT MONITOR_ID, SAMPLE_ID,
                   COLL_TIME, DEW_POINT
        FROM ARCHIVE_DATA
        WHERE COLL_TIME < passing_date
        ORDER BY COLL_TIME desc;And rather than populating a table with the three records, you could just select the three records using: where COLL_TIME between Prev3_time and Prev1_time

  • How to enable frontend printing using Adobe Print Forms

    Otto Gold at the forum "SAP Interactive Forms by Adobe" gave me the tip that Sandra Rossi in this forum might help me out. Here is the link to my original thread How to enable frontend printing using Adobe Print Forms
    My question was:
    Hi Experts!
    Did anyone of you manage to enable frontend printing using Adobe Print Forms? In order to save administration effort we use frontend printing in our ERP system. We just changed some SMARTFORMS to the new Adobe Forms technology. Now we learned that direct frontend printing does not work with these forms.
    Any help will be very much appreciated.
    Kind Regards,
    Gerald

    I think you'll be disappointed by a rather negative answer but I'll try to explain everything I know (or think I know) the best I can
    The simplest solution is to do a preview, and print from Adobe Reader! (as I could see on one project, users have to display one more dialog than usually to print) It's the best workaround according to me.
    How Adobe form printing works:
    When you print an Adobe form from SAP, a printer language (PCL, PS, ZPL, PDF) is retrieved from TSP0B table according to the device type, ADS (Adobe Document Services, installed in the SAP java stack) is then contacted to generate the form: a file corresponding to the printer language is generated and sent back to SAP (there are also 2 other little files but it's of none interest here). SAP stores it as a file (named SPOOL...) in the global directory (DIR_GLOBAL when you use AL11 transaction).
    When you ask SAP to print it, it sends the file as is to the printer.
    Note: when you ask SAP to display the spool, SAP sends a request to ADS which will send back a PDF (binary stream which is not stored on disk, just displayed on frontend).
    How frontend printing works:
    If you want to print a normal spool via frontend, SAP doesn't know the language of the printer you will choose. SAP sends the spool in a format named SAPWIN to a frontend program named SAPLPD, it converts the SAPWIN format into GDI, a Windows format that is understood by all printer drivers, and it is sent to the printer driver (you have selected) which converts the GDI format into the printer language.
    Any workaround?
    First possibility would be that ADS converts the PDF into SAPWIN format (by creating an Adobe .XDC file at the ADS side). SAP says it's not possible in Note 685571 - Printing PDF-based forms. As I understand, SAPWIN is a very simple language compared to PCL for example, so it is very difficult to convert a PDF to SAPWIN without losing much information. There's a SAP note about the SAPWIN language if you want to check.
    Second possibility is to print directly the PDF through Adobe Reader: you get the PDF from ADS, download it to the frontend (easy), and execute directly Adobe Reader print function. Unfortunately, I don't know if it's possible. Moreover, we should enhance the standard SAP print dialog...
    Third possibility is the one I recommended at the beginning of this post

  • How to enable attachment icon to a custom form

    Hello all,
    I am developing one custom form in 6i version.. can any one help me how to enable attachment icon to a custom form..
    Thanks in advance.

    What exactly are your trying to do when you say "enable attachment icon"? Also, since you mention "Custom Form" I assume you are developing in the Oracle Enterpise Business Suite (EBS). Whatever you are attempting, there may already be an "Apps Approved" method for doing this. I suggest you review the Applications Documentation specifically the Oracle E-Business Suite Developer's Guide and Oracle E-Business Suite User Interface Standards for Forms-Based Products guides. Also, you might want to post your question in the General EBS Discussion Forum.
    Craig...

  • How to Call a jasper report from Oracle Forms 6i.

    Hi
    Can anybody tel me how to Call a jasper report from ORacle Forms 6i.
    Thanks & Regards
    Bango

    Forms 6i client/server? Use the HOST command to call the report. Since a Jasper report is just a call to a url, it will be something like:
    v_url := '<your url to the report>';
    host ('cmd /c start '||v_url);If it's web Forms 6i it even easier. Just use web.show_document(<url>).

  • How To Creating A Object Libraries In Oracle Forms 6i

    hi
    All
    I Not No How To Creating a Object Libraries In Oracle Forms 6i
    How To Add Your Pl/sql Block In a Lib
    But What Is Use it is i Know , So I Want To Creating a Object Libraries.
    So Any One Have A Idea Plz Help Me.

    Hi,
    there is a good paper:
    http://www.quovera.com/whitepapers/downloads/102_doc.zip
    http://www.quovera.com/whitepapers/downloads/102_ppt.zip
    Best,
    Friedhold

  • Querying a multi-record block within my form

    I have a form where I perform validations of items entered on my main block. I compare the item value entered to an expected value and if they are different then an exception record must be created in a separate, multi-record block within my application. One record on my main block may end up with multiple different exception records in the multi-record block. As a result, part of my validation must include determining whether the user has already created an exception record for the item that I'm validating in the multi-record block.
    Is there a way for me to query and uncomitted, multi-record block in my form? Help would be greatly appreciated!

    Andreas' method is good.
    Only several changes:
      LOOP... EXIT WHEN :SYSTEM.RECORD_STATUS='NEW';
    (Use NEW, not TRUE)
    And just before the Raise Form_Trigger_Failure, I would Go_Item to either the item in error, or to a new line in the exceptions block. And also issue an error message.
    ....By the way...
    If your exceptions block has more rows than will fit on the screen, then your search loop function will may cause the rows to jump up or down when the user tries to commit. There is a way to reset the view after the function completes its search -- you just need to store the value of the block's Top_Record property before the First_Record command, and then Go_Record(Top_Rec_value); after the function completes its loop.
    Also, there is a way to prompt the user to enter the exception record when you first validate the item in a when-validate-item trigger. But the user might ignore the prompt, so you still need to re-check everything from the key-commit process. To use the WVI prompting, in the WVI trigger you check if an exception is required. If it is, store the item name in a package variable, then start a non-repeating timer. When the timer expires, save the :System.cursor_item value (so you can go_item back to it after calling the function), and then call the function to check for the exception for the item named in the package variable. If not found, prompt the user. If found, go_item back to the cursor_item_value.

  • How to - enable - multi touch - in windows 7 ultimate - for my G560 touchpad

         I and my friend have the lenovo G560 laptops. I am running windows 7 ultimate and my friend is running ubuntu 11.04 OS in our laptops.
    In Ubuntu: The multi touch is enabled by default for the laptop touch-pad. For vertical scrolling, we can use two fingers to navigate.
    In Windows 7 Ultimate: I don't know how to enable this multi-touch feature.
    Your help is very much appreciated.
    Thanks in advance.

    control panel > hardware and sound > mouse > mouse properties > device settings > settings ( if you have synaptic mouse )
    if you don't synaptic, check the mouse properties to enable/disable the features you'd like to.

  • How to enable printer range selection in printer Dialog?

    I try to do the printer setup, when I do
    Code:
    job.setPageable (book);
    if (job.printDialog ()) {
    try {
    job.print ();
    catch (PrinterException ex) {
    ex.printStackTrace ();
    note: job is PrinterJob.
    The printer setup that shown, it disable the selection mode in printer range. Anyone know how to enable it or do print by text selection (highlight).
    Thank you in advance.

    If you set up a JFileChooser dialog you can set the setMultiSelectionEnabled to true then the JFileChooser returns an array of files.
    eg.
    File files[];
    JFilechooser chooser new JFileChooser();
    chooser.setMultiSelectionEnabled(true);
    if (result == JFileChooser.APPROVE_OPTION) {
    files = chooser.getSelectedFiles();

  • How to install Multi-Client Installation of Oracle Developer

    Could someone help me figure out the documentation on how to do
    a multi-client installation of Oracle Developer. I'm reading
    the section 1.3 in the Getting Started manual for Oracle
    Developer on NT. In trying to configure the OCSM host machine
    there are no entries for installing OCCM or OCSA in the Oracle
    Installer.
    Could someone instruct me as to the proper way to do this? The
    documentation just doesn't match the product.
    Thanks
    Ken
    null

    Sounds like a good idea! Could you email me a sample of
    the .reg file to edit. [email protected]
    Thanks!
    Jeff.
    elmo recio (guest) wrote:
    : Ken Pereyra (guest) wrote:
    : : Could someone help me figure out the documentation on how to
    do
    : : a multi-client installation of Oracle Developer. I'm
    reading
    : : the section 1.3 in the Getting Started manual for Oracle
    : : Developer on NT. In trying to configure the OCSM host
    machine
    : : there are no entries for installing OCCM or OCSA in the
    Oracle
    : : Installer.
    : : Could someone instruct me as to the proper way to do this?
    The
    : : documentation just doesn't match the product.
    : : Thanks
    : : Ken
    : I dunno if this will help. But the way we do things here is to
    : install oracle developer on the NT server, share the directory,
    : and then run a .REG file that set's up the user's registry data
    : as to where to point to for the OraWin directory. In this case
    : each time a user logs in via his remote machine he mounts a
    drive
    : letter (X, let's say) and the .REG points to all the orawin
    stuff
    : on that drive... so the client hasnt got to install it at all
    : except the .REG entry.
    : ciao, elmo
    null

  • How to enable group label selectable on combo box?

    When we use the combo box, we can group the items as following
    group 1
    item 1 1
    item 1 2
    group 2
    item 2 1
    item 2 2
    How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
    In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
    Thanks

    When we use the combo box, we can group the items as following
    group 1
    item 1 1
    item 1 2
    group 2
    item 2 1
    item 2 2
    How to enable user select the group 1 instead of select both item 1 1 & item 1 2 ?
    In the jsf rendered result, group 1 & group 2 just a label and not selectable option, we want change it to selectable option.
    Thanks

Maybe you are looking for

  • Problem getting data from a stored procedure

    On the Oracle DB there's a stored proc defined like: PROCEDURE pGetHashes ( iFrom IN NUMBER, iTo IN NUMBER, sHash1 OUT CHAR, sHash2 OUT CHAR ); When I call this procedure from within my app, I only get a value for the sHash2 parameter. The value of t

  • CAN i connect m'y iPhone and iPad to thé Time capsule hard drive by wifi ?

    CAN you héliport please...

  • PR deleted:PO created with refere to RFQ

    Hi,     I created RFQ and PR,but after some time I deleted my PR due to some reason ,but still Buyer can create PO with refer. to my RFQ, how can I stop this with some error message/warning message. Can somebody throw light on this please? With Regar

  • Backup problem in SAP  BW 3.5

    Dear All, I am using SAP BW 3.5 with Oracle 9.2. I started the job via DB13 after that I am receiving the error Job started Step 001 started (program RSDBAJOB, variant &0000000000029, user ID BASIS) No application server on database host - rsh will b

  • ABAP+J2EE sap license

    Hi, I am having ABAP+J2EE Dual Stack and for this system how many licenses need to apply either it will be one (or) two. With Regards, Prashanth