Tabular Form Populate from a query of other tables

I am sure this can be done but we are especially new to Master-Detail relationships in Apex and to Tabular Forms (updateable reports).
We are trying to populate a tabular form (updateable report) with values from a query. The user is simply going to click yes/no per row and then we need to insert those rows into a table..
I tried following the logic of creating a Master-Detail relationship, and noticed the AddRow Button and the process to add rows to the Tabular Form. I also noticed several MRUUpdate processes that fire to update existing rows.. I am assuming that I need to first add the number of rows that the query which populates the tabular form pulls in and then update the rows after that. I tiried doing a count and storing the value in a Page Text Field/Hidden Field and then in the AddRows to the MRU I put the field name with & and . around it. That did not work (it could not add rows and came up with an ora-6502 error) , I then tried to put a : in front of it and that failed too.
Any suggestions on how to proceed.
Thank you in Advance,
- Brian

Here is the issue quickly... I am trying to create a Master/Detail Screen. The master record always inserts, the details are populated from a query into a tabular form/updateable report and always inserts. The user will check certain details and the checked details will be marked as Y, unchecked marked as N and saved to the detail table. And tried to do some research into the issue..
Possible Solutions I found where: 1) http://htmldb.oracle.com/pls/otn/f?p=31517:170:2680852007789839::NO:::&success_msg=0%20Row(s)%20Updated%2C%202%20Row(s)%20Inserted.%2F838A7BC908323107AD95920713AFD5FD%2F and 2) http://www.inside-oracle-apex.com/checkboxes-in-tabular-forms-the-easy-way/
I went with 1).. but modified the code and simplified it since I always know that I should be inserting..
I am trying to insert into a table called bd45vbjbsel
CDSELECTED VARCHAR2(1)
CDBILL VARCHAR2(20)
NUXRBILL NUMBER
NATITLE VARCHAR2(500)
CDMEMBER VARCHAR2(20)
DECRITERIA VARCHAR2(500)
NUCRITERIA NUMBER
NUXRBSELECT NOT NULL NUMBER
NUXRBSEL NOT NULL NUMBER
NATXNORGUSER NOT NULL VARCHAR2(20)
DTTXNORIGIN NOT NULL TIMESTAMP(6)
NATXNUPDUSER NOT NULL VARCHAR2(20)
DTTXNUPDATE NOT NULL TIMESTAMP(6)
CDSTATUS NOT NULL VARCHAR2(1)
My Tabular Form Select is:
select apex_item.checkbox (1,
'#ROWNUM#',
'onclick="highlight_row(this,' || ROWNUM || ')"',
NULL,
'f01_' || LPAD (ROWNUM, 4, '0')
) cdselected,
cdbill, nuxrbill, natitle, cdmember, decriteria, nucriteria , 0 NUXRBSELECT, 0 NUXRBSEL, USER NATXNORGUSER, systimestamp DTTXNORIGIN, USER NATXNUPDUSER, systimestamp DTTXNUPDATE, 'A' CDSTATUS from
(select nuxrbill, nubill, cdbill, natitle, cdmember, nurevision, MAX(NUREVISION) OVER (PARTITION BY NUBILL) nurevisionmax,
CASE
WHEN INSTR(':'||:P200_NUXRBILL||':',':'||NUXRBILL||':') > 0 THEN 'BILL# MATCH'
WHEN INSTR(':'||:P200_NUXRBILLCAL||':',':'||NUXRBILL||':') > 0 THEN 'CALENDAR# MATCH'
WHEN INSTR(':'||:P200_CDCOMMITTEE||':',':'||CDCOMMITTEE||':') > 0 THEN 'COMMITTEE: '||CDCOMMITTEE
WHEN INSTR(':'||:P200_CDMEMBER||':',':'||CDMEMBER||':') > 0 THEN 'MEMBER: '||CDMEMBER
WHEN INSTR(':'||:P200_DESUBJECT||':',':'||DESUBJECT||':') > 0 THEN 'SUBJECT MATCH'
WHEN INSTR(':'||:P200_DTCOMAGNDA||':',':'||DTCOMAGNDA||':') > 0 THEN 'COMMITTEE AGENDA: '||DTCOMAGNDA
WHEN INSTR(':'||:P200_CDPRIORITY||':',':'||CDPRIORITY||':') > 0 THEN 'PRIORITY: '||CDPRIORITY
ELSE NULL
END DECRITERIA,
CASE
WHEN INSTR(':'||:P200_NUXRBILL||':',':'||NUXRBILL||':') > 0 THEN 1
WHEN INSTR(':'||:P200_NUXRBILLCAL||':',':'||NUXRBILL||':') > 0 THEN 2
ELSE 3
END NUCRITERIA
from BM46BILL
where cdstatus = 'A'
AND ( INSTR(':'||:P200_NUXRBILL||':',':'||NUXRBILL||':') > 0
OR INSTR(':'||:P200_NUXRBILLCAL||':',':'||NUXRBILL||':') > 0
OR INSTR(':'||:P200_CDCOMMITTEE||':',':'||CDCOMMITTEE||':') > 0
OR INSTR(':'||:P200_CDMEMBER||':',':'||CDMEMBER||':') > 0
OR INSTR(':'||:P200_DTCOMAGNDA||':',':'||DTCOMAGNDA||':') > 0
--OR (:P200_CDACTIVE = 'Y' AND
OR INSTR(':'||:P200_DESUBJECT||':',':'||DESUBJECT||':') > 0
OR INSTR(':'||:P200_CDPRIORITY||':',':'||CDPRIORITY||':') > 0
) a
where a.nurevision = a.nurevisionmax
I created an Anonymous PL/SQL Block Process called InsertMRU which fires right when a SUBMIT button is pressed after the Master information is inserted, the code for it is...
DECLARE
v_insertcount NUMBER := 0;
v_updatecount NUMBER := 0;
BEGIN
:p200_detail_update := apex_application.g_f02.COUNT;
FOR i IN 1 .. :P200_NUCOUNT -- Number of records pulled in from query.
LOOP
INSERT INTO bd45vbjbsel
(cdselected,
cdbill,
nuxrbill,
natitle,
cdmember,
decriteria
VALUES (apex_application.g_f01 (i) -- cdselected
apex_application.g_f02 (i) -- cdbill
apex_application.g_f03 (i) -- nuxrbill
apex_application.g_f04 (i) -- natitle
apex_application.g_f05 (i) -- cdmember
apex_application.g_f05 (i) -- decriteria
commit;
v_insertcount := v_insertcount + 1;
END LOOP;
:p200_detail_insert := v_insertcount;
END;
I am getting an ORA-01403 No Data Found error when submitting..
Even though I am manually inserting the records do I still need to store the MD5checksum?
Could there be another reason why I am getting a no data found on submit?
Thank you again in advance...
-Brian

Similar Messages

  • About give from one query to other the same value of a variable

    Hi Gurus,
    my problem is About give from one query to other the same value of a variable, i have a wad with a view, and this wad has some bottoms in javascript to go to anothers wad with charts, the problem is when i ran the query one, i put a value = calyear:2008 (Obligatory Variable), but when i click the bottom to go to the other query with the same variable, he ask me again a value,
    i want write a value just one time, and the others wad can recieve the first value that i put when the wad opened.
    i really need it , thanks !

    Hello Jorge,
    What you need here is Replacement path variable. Check out this link for more details:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/bd/589b3c494d8e15e10000000a114084/content.htm
    In the second query where you need the value (calyear:2008 from first query) create a Variable for calyear of type Replacement path, in Replacement tab you can select either query or variable by which it has to replaced. In your case, it has to be variable from the first query.
    Do let me know if this works. If this does not work I suggest you to use Web APIs to replace the variable values using Web APIs. Check out the details:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/29/4d15422ecce02ce10000000a1550b0/frameset.htm
    Hope this helps.
    Regards,
    Srini

  • Is it possible to create foreign key from composite key in other table.

    SQL> desc PRODUCT_CONFIG_OPTION;
    Name Null? Type
    CONFIG_ITEM_ID NOT NULL VARCHAR2(20) --composite primary key
    CONFIG_OPTION_ID NOT NULL VARCHAR2(20) --composite primary key
    CONFIG_OPTION_NAME VARCHAR2(100)
    DESCRIPTION VARCHAR2(255)
    SEQUENCE_NUM NUMBER(18)
    LAST_UPDATED_STAMP TIMESTAMP(6)
    LAST_UPDATED_TX_STAMP TIMESTAMP(6)
    CREATED_STAMP TIMESTAMP(6)
    CREATED_TX_STAMP TIMESTAMP(6)
    SQL> DESC PRODUCT_CONFIG_ITEM;
    Name Null? Type
    CONFIG_ITEM_ID NOT NULL VARCHAR2(20)
    CONFIG_ITEM_TYPE_ID VARCHAR2(20)
    CONFIG_ITEM_NAME VARCHAR2(100)
    DESCRIPTION VARCHAR2(255)
    LONG_DESCRIPTION CLOB
    IMAGE_URL VARCHAR2(255)
    LAST_UPDATED_STAMP TIMESTAMP(6)
    LAST_UPDATED_TX_STAMP TIMESTAMP(6)
    CREATED_STAMP TIMESTAMP(6)
    CREATED_TX_STAMP TIMESTAMP(6)
    SQL> desc product;
    Name Null? Type
    PRODUCT_ID NOT NULL VARCHAR2(20)
    PRODUCT_TYPE_ID VARCHAR2(20)
    PRIMARY_PRODUCT_CATEGORY_ID VARCHAR2(20)
    MANUFACTURER_PARTY_ID VARCHAR2(20)
    FACILITY_ID VARCHAR2(20)
    INTRODUCTION_DATE TIMESTAMP(6)
    SUPPORT_DISCONTINUATION_DATE TIMESTAMP(6)
    SALES_DISCONTINUATION_DATE TIMESTAMP(6)
    SALES_DISC_WHEN_NOT_AVAIL CHAR(1)
    INTERNAL_NAME VARCHAR2(255)
    BRAND_NAME VARCHAR2(100)
    COMMENTS VARCHAR2(255)
    =========
    CREATE TABLE PROD_CONFIG_PROD_CONFIG_OPTION (
    PRODUCT_ID VARCHAR2(20),
    CONFIG_ITEM_ID VARCHAR2(20),
    CONFIG_OPTION_ID VARCHAR2(20),
    PAGE_NUM_TO NUMBER(18),
    ALTERNATE_PAGE_NUM_TO1 NUMBER(18),
    ALTERNATE_PAGE_NUM_TO2 NUMBER(18),
    ALTERNATE_PAGE_NUM_TO3 NUMBER(18),
    LAST_UPDATED_STAMP TIMESTAMP(6),
    LAST_UPDATED_TX_STAMP TIMESTAMP(6),
    CREATED_STAMP TIMESTAMP(6),
    CREATED_TX_STAMP TIMESTAMP(6),
    CONSTRAINT PK_PROD_CAT_CONFIG_MOD PRIMARY KEY (PRODUCT_ID),
    CONSTRAINT FK_PRODUCT_ID FOREIGN KEY (PRODUCT_ID) REFERENCES PRODUCT(PRODUCT_ID),
    CONSTRAINT FK_CONFIG_ITEM_ID FOREIGN KEY (CONFIG_ITEM_ID) REFERENCES PRODUCT_CONFIG_ITEM(CONFIG_ITEM_ID),
    CONSTRAINT FK_CONFIG_OPTION_ID FOREIGN KEY (CONFIG_OPTION_ID) REFERENCES PRODUCT_CONFIG_OPTION(CONFIG_OPTION_ID) )
    TABLESPACE DATA_SMALL
    i try to create this table if i omit 3rd foreign key constraint then table successfully created.but including trd foreign key constraint it return error "ORA-02270: no matching unique or primary key for this column-list"
    i checked everything is it possible to create foreign key from composite key in other table.

    And
    CONSTRAINT FK_CONFIG_OPTION_ID FOREIGN KEY (CONFIG_ITEM_ID,CONFIG_OPTION_ID) REFERENCES PRODUCT_CONFIG_OPTION(CONFIG_ITEM_ID,CONFIG_OPTION_ID)
    ?

  • Add row button on tabular form works from time to time

    Hi!
    we have two environments (dev & prod) with 10gR2 and APEX 3.2.1.00.12 (installed from one and only setup file)
    we have developed application on dev and moved it to prod,
    and on prod it was discovered that - from time to time (not always) -
    when you press 'add row' button on tabular form,
    tabular form does not display new record on the page,
    if number of records exceeds number of records allowed to show
    (i.e. with 10 records maximum it works fine when you add records from 1 to 10 and can't add record 11)
    but - interestingly - increases number of rows in pagination by 1
    (e.g. "rows 10-20 of 35" changes to "rows 10-20 of 36").
    on dev this tabular form works correctly.
    what is it and how to heal it?..
    I recall I had same issue in prior releases (3.0 - 3.1), is it known issue?

    It seems to be true:
    - if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
    - but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
    thank you!

  • FILL ONE  TABULAR FORM COLUMN FROM A FIELD IN ANOTHER REGION.

    Hi,
    I'm, using Oracle APEX 4.2. In one of my pages i have two regions. One of them has a text field and a button, and the another region with a tabular form.
    http://apex.oracle.com/pls/apex/f?p=41771:2:14057730603424:::::
    I want to enter some data into the text field and when I press the Button named Estado, just the rows checked change the value of the column Estado.
    PLEASE HELP!
    Thanks.
    Eve

    Dear Eve,
    I have made a PL/SQL process called updatePAGObyEstado executed when the button pressed, with the following code
    BEGIN
       for i in 1..apex_application.g_f01.count loop
         update PAGO
         set PAGO_ESTADO = :P2_VALOR
         where PAGO_ID = apex_application.g_f01(i);
       end loop;
       COMMIT;
    END;Please, if this solves your problem, mark it as Correct.
    Best Regards
    Mahmoud

  • Add Row on Tabular Form - column from read only to update/insert allowed

    APEX 4.2.2
    Newbie in the APEX forums, go easy please.
    I'm building a rather simple tabular form based on a table with a primary key (emp_number). Sounds like an Oracle tutorial but trust me, it's a real table. This table has, for this example's sake the following attributes:
    Table Name: EMP_EXCEPTIONS
    EMP_NUMBER      NUMBER (PK)
    UPDATE_EXEMPT VARCHAR2(1)
    I've used the Tabular Form wizard to create a nice looking tabular form page, all good and works as intended. Of course the primary key value is non update able by the wizard and that's by design - I've no need to update any primary keys. When I click the add rows button however, I'd like to be able to include the emp_number field as a input able field. At the moment, when I click the add rows button it inherits the property of the emp_number as read only. The user entering the new row would know the employee number and whether they were update_exempt or not. So rewinding my head in Oracle Forms, this would have been done by setting the row attribute as update allowed when the button is clicked. Is there such simple functionality in APEX and if so can you point me in the right direction?

    It seems to be true:
    - if there is ascending order on columns which fields are null in new line (have no default value), new row is visible in current "pagination" page
    - but if there is DEScending order OR ANY sort order is set on columns which fields are NOT null in new line (have default value), new row is NOT visible in current "pagination" page
    thank you!

  • Create Tabular Form wizard - how to add rows to Table / View Owner list?

    Create Tabular Form wizard asks to choose "Table / View Owner"
    How to add additional schemas/users to this "Table / View Owner" dropdown list?

    Next step:
    I tried to create 2nd application - and it sees and allows to select from schemas I added in previous step.
    Then I tried to add 1 more schema - and 2nd application can't see it...
    I create 3rd application and select 1st schema (assigned when workspace was created) - and it sees only this one schema
    I create 4th application and select another schema (added in previous steps) - and it sees 2 schemas from 4 assigned
    what is this?
    how to live with it?

  • Inserting results from select query into another table

    Hi: Is there a way to insert results returned from a SQL query into another table within the same SQL statement.
    For example
    SELECT a.SRCID,
    SUM(DECODE(a.CLASS_ID,91147,1,0)) BLOCK,
    SUM(DECODE(a.CLASS_ID,91126,1,0)) ALLOW,
    FROM EVENT_DATA a
    where
    a.class_id in (91147,91126)
    GROUP BY SRCID
    order by TOTAL DESC;The columns returned SRCID, BLOCK and ALLOW need to go into another table called AGGREGATE_COUNT. This table has fields SRCID, BLOCK and ALLOW. Or is the only way this can be done from outside of SQL like using perl or C.
    Thanks
    Ray

    INSERT INTO aggregate_count
         ( chart_id
         , srcid
         , block
         , allow
    SELECT 2234  chart_id
         , srcid
         , SUM(DECODE(class_id, 91147, 1, 0))
         , SUM(DECODE(class_id, 91126, 1, 0))
      FROM event_data
    WHERE class_id IN (91147, 91126)
    GROUP BY chart_id, srcid
    ORDER BY total DESC;

  • Populate Form Field from Post-Query Trigger

    I have a form with some fields like "start_date", "company_id", "previous_start_date", "previous_company_id". Out of these, the "previous" fields are unbound and the others are bound to "my_companies" table. All are in the same block on the form. I have a post-query trigger which runs a cursor to select "previous" values based on the "start_date" and "company_id". More than one "previous" values is retrieved each time. My problem is that my cursor writes back only one value into my form field. I ran the cursor as a pl/sql block in TOAD to test and it fetches all the records that I need. I'm not sure what I'm doing wrong in writing the values into form items. The form items are of type "custom" and display type is "text" (I'm creating the form in Oracle Designer). My cursor code is something like this:
    declare
    cursor previous_data_cur is 
            select company_id,start_date
               from my_companies
               where company_id = :myblock.company_id
               and start_date < :myblock.start_date;       
    BEGIN 
        open previous_data_cur;
        LOOP
        fetch previous_data_cur into :myblock.prev_company_id, :myblock.prev_start_date;
        EXIT WHEN previous_data_cur%NOTFOUND;
        END LOOP;
        close previous_data_cur; 
    END; Can anyone provide any pointers on what I could be doing wrong or what I should do to make this work?
    Any help is greatly appreciated.

    Do you have several previous date fields per record?
    How are they named? Previous_date_1, previous_date_2,...?
    Try this:
    declare
    cursor previous_data_cur is 
            select start_date
               from my_companies
               where company_id = :myblock.company_id
               and start_date < :myblock.start_date;
       l_previous_data previous_data_cur%ROWTYPE;       
       l_count NUMBER;
    BEGIN 
       l_count := 1
       FOR l_previous_data IN previous_data_cur
       LOOP
           copy(l_previous_data.start_date, 'my_block.previous_start_date_'|| l_count);
        END LOOP;
    END; Caution:
    - number of retrieved records may not exceed number of previous_date fields.
    - not tested

  • Combobox populate from HTTPService query

    I got this working with static XML files, but now its not
    working with HTTPService! I'm having problems getting a ComboBox to
    fill up with dynamic data from an SQL query which spits back XML
    data. I am basically filling one ComboBox based on the selection
    from another ComboBox. On startup, I call this method:
    public function loadSystems(serv:HTTPService, s:String) :
    void {
    var params:Object = {};
    params[s] = s;
    serv.send(params);
    To fill in the first ComboBox, which is defined as:
    <mx:ComboBox minWidth="130" maxWidth="130" id="mainSys"
    dataProvider="{sysOps.lastResult.system.data}"
    change="fillComboBox(mainSys, subSys, 'subsystem', subOps,
    sysIDs)" rowCount="10" />
    It fills up fine, but the fillComboBox method (below) comes
    up with a null result and fails
    // fill destination combobox based on selection from src
    combobox
    public function fillComboBox(src:ComboBox, dest:ComboBox,
    arg:String,
    serv:HTTPService, idArray:ArrayCollection) : void {
    var ind:int = src.selectedIndex;
    // choose ID from the ID array with the selecetedIndex
    var select:String = idArray.getItemAt(ind) as String;
    var params:Object = {};
    params[select] = select;
    params[arg] = arg;
    serv.send(params);
    dest.dataProvider = serv.lastResult.system.data; //
    serv.lastResult is null
    I know the server side is getting valid arguments in params
    and is spitting out valid XML so the problem is on the Flex side.
    Any ideas or help would be greatly appreciated. Thanks!

    Although caching is a common problem, that is not the cause
    of your problem. In Flex, all HTTPService calls are asynchronous,
    which means you cannot call the service and set the result in the
    same function like you are doing in your fillComboBox method. You
    need to add an event listener and get the result in a different
    method. However, in your function you are also passing the
    destination which complicates things. Instead of passing the
    destination, you could try passing a function that will assign the
    result to the component you want dynamically:
    change="fillComboBox(mainSys, setSubSys, 'subsystem', subOps,
    sysIDs)"
    public function fillComboBox(src:ComboBox,
    resultFunction:Function, arg:String, serv:HTTPService,
    idArray:ArrayCollection) : void
    serv.addEventListener(ResultEvent.RESULT,resultFunction);
    private function setSubSys(evt:ResultEvent):void {
    subSys.dataProvider = evt.result.system.data;
    In general, it makes debugging much easier if you avoid
    binding HTTPService results directly to components and instead use
    a listener function where you can examine the result data for any
    problems.
    Vygo

  • Form translation from one language into other

    Hi All,
        I have one form in English i have translated it to France using SE76 tcode . Say Example.
    EN: ZXXX.
    FR: ZXXX.
    Now i have longed in with Language as  FR, and executed the the report but still i am getting the English form.
    What i need to do more to over come this problem.
    Please reply with the needful.
    Regards
    Shashikanth Naram

    https://www.sdn.sap.com/irj/scn/wiki?path=/pages/viewpage.action%3fpageid=31187
    hope the link would be helpful..just try.
    sorry posted twice..pls ignore this..
    Edited by: Harini Krishna on Mar 10, 2009 1:27 PM

  • Javascript for exporting form-data from spawned pages in csv-table

    Hello,
    I need your help with a problem concerning acrobat.
    I created a form. The user can spawn new pages from a template.
    The fields have the format Pn.templatename.fieldname, for example: P0.form.kosten1
    The user fills the form, saves the file and sends it to me.
    Now I have to get a CSV- or Excel-Table from this Data.
    The Export-Function doesn't work, because of the different fieldnames.
    Does Javascript work?
    Perhaps I can create a 2-dimensional array and then write it to a csv-file??
    Has anyone a good Idea?
    Thank you for helping.
    Many greetings,
    Thomas

    The only way I've found to do this is to open the form in Acrobat, click Forms, mouse over Manage Form Data, then click Export Data. Your only options are to save as .xml or .xdp. I saved my data as .xml. I was then able to import the .xml file into excel by clicking Data, mousing over xml, clicking Import... and browsing to the Acrobat generated .xml file. I know this is convoluted but it's the only way I've found to get the data into a spreadsheet. Acrobat exports the data as filename_data.xml, i.e. a form named contacts will export it's data as contacts_data.xml. Be aware, I've only tested this on a form that had a table in it and nothing else. If your table is part of a form with other fields in it I have no idea how the other data will look after exporting.

  • Extract data from xml column to other table

    Hi
    I have a table with clob column, inside have a xml, How can I to extract data inside column
    Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    PL/SQL Release 9.2.0.8.0 - Production
    CORE     9.2.0.8.0     Production
    TNS for IBM/AIX RISC System/6000: Version 9.2.0.8.0 - Production
    NLSRTL Version 9.2.0.8.0 - Production

    thank you
    I have a table
    SQL> desc xml_documents;
    Name      Type          Nullable Default Comments
    DOCNAME   VARCHAR2(200)                          
    XMLDOC    CLOB          Y                        
    TIMESTAMP DATE          Y                         inside XMLDOC column there is only a record below
    <!-- claim77804.xml -->
    <Claim>
    <ClaimId>77804</ClaimId>
    <Policy>12345</Policy>
    <Settlements>
    <Payment Approver="JCOX">1000</Payment>
    <Payment Approver="PSMITH">1850</Payment>
    </Settlements>
    <DamageReport>
    The insured's <Vehicle Make="Volks">Beetle</Vehicle>
    broke through the guard rail and plummeted into a ravine.
    The cause was determined to be <Cause>faulty brakes</Cause>.
    Amazingly there were no casualties.
    </DamageReport>
    </Claim>I tried to use example from : http://www.oracle-base.com/articles/9i/xmlsequence.php
    SELECT extract(value(d), '//POLICY/text()').getStringVal() AS empno
    FROM    xml_documents x,
           table(xmlsequence(extract(x.xmldoc, '/ROWSET/Claim'))) d;But no work, show me error
    ORA-00932: inconsistent datatypes: expected - got -

  • Cascading select list (query based) in a tabular form

    Hi,
    In my application i have two select list in a tabular form one for selecting manager_id and other for selecting employees for the selected manager_id how can i do it in apex 4.0
    thanks in advance

    Ok i will assume that you have 2 select list items called (P1_MANAGER AND P1_EMPLOYEE)
    In employee select list u need to find Cascading LOV Parent Item(s) and set it to P1_MANAGER. Ofc your sql query must be smth like this:
    SELECT employee_name d, employee_id r FROM employee_table WHERE employee_manager = :P1_MANAGER

  • Creating tabular form using SQL query

    Hi,
    I need to create a tabular form using an SQL query so that multiple rows of a table are displayed on screen and are editable to the user.
    I have created this sort of form before using the Tabular Form wizard however for this form I need to enter SQL to produce it.
    The steps I take are:
    1. Create Page
    2. Page with Component
    3. Form
    4. Fow on a SQL query
    5. For the query I have: 'select * from depot_master_customer'
    However when I view the page, it just displays one blank field with the title '*' !!
    I am doing something completely wrong here? It seems like it should be a simple thing to do.
    Any help appreciated, this one is driving me mad.
    Thanks
    Simon

    Simon,
    You will need to manually create the tabular form and DML process. This is covered in detail in the How To document shown below:
    http://www.oracle.com/technology/products/database/htmldb/howtos/tabular_form.html
    Have you tried this yet?
    Good luck!
    Emilio.

Maybe you are looking for

  • How do I resinstall Adobe Acrobat 9 Standard?

    Adobe Acrobat 9 stopped working on my computer, and instead showed Error message stating that there was an issue with my license agrement. The message indicated that I should UNINSTALL and reinstall, however I cannot find a download for Adobe Acrobat

  • Inventory cycle count report

    Hi We need to implement inventory cycle count report . Is there a standard business content data source for this ? Thanks and Regards Arun

  • Upgrade path for Cisco Secure ACS 4.X Solution Engine 1113 Appliance.

    Hello, I am having Cisco Secure ACS 4.X Solution Engine 1113 Appliance, and is running on version Cisco Secure ACS Release 4.1(1) Build 23 and now want to upgarde it to the latest version. Need to know the upgrade path for the same. As per my informa

  • Import data from a sony dvd403 Handycam

    I have a Sony Handycam DVD403. They are mini discs. First, how do I import this data into the IMovie? When I hook it up with the USB Cable it puts me into the DVD Player to view only. I have several discs that i want to edit to burn to one DVD. Is th

  • Animated Text on Magazine Cover

    Hello, I am trying out DPS for one month and trying to create an animated cover for a magazine.  I have a couple of issues which would be great if I could get help with, I am a newbie. 1) I have imported an image into the publication as image sequenc