Select list in a manually created tabular form

I created a select drop down item in a manually created tabular form. When I run the page, it also shows the null value '%'. How do I edit this?
This is the line I am using in the SQL:
htmldb_item.select_list_from_query(34,IN_PGRS_STAT_DSC,'select distinct STAT_DSC, STAT_DSC from PROJECT_STATUS_REF') IN_PGRS_STAT_DSC,

And the select list doesn't work. It gives me an error message if I have the form to display one extra empty record and the select list. But even with the select list, if I don't include the extra row, it works properly.
report error:
ORA-06550: line 1, column 13:
PLS-00103: Encountered the symbol "COLLECT" when expecting one of the following:
:= . ( @ % ;
ORA-06550: line 1, column 82:
PLS-00103: Encountered the symbol ";" when expecting one of the following:
. ( , % from
What I also realized is that the drop down shows the value 7. But the table is empty with no records. I have no idea where this number 7 is coming from?
Message was edited by:
user494578
Message was edited by:
user494578

Similar Messages

  • 2 manually created tabular form on the same page based on 2 different table

    Hi, I followed the how to document on manually creating tabular form, including one extra row.
    The first form I created works fine, but when I attempt to create the second tabular form based on a different table on the same page, I get the following error message when I try to create the query:
    ORA-04045: errors during recompilation/revalidation of PUBLIC.X ORA-00980: synonym translation is no longer valid
    The logic behind both tabular forms I am using is the same, except that for the second query, I use 100 instead of 1, 300 instead of 3, etc:
    select htmldb_item.hidden(1,empno) empno,
    ename,
    htmldb_item.select_list_from_query(3,job,'select distinct job, job from emp') job,
    htmldb_item.popupkey_from_query(4,mgr,'select ename, empno from emp',10) mgr,
    wwv_flow_item.date_popup(6,null,hiredate) hiredate,
    htmldb_item.text(7,sal,10) sal,
    htmldb_item.text(8,comm,10) comm,
    htmldb_item.select_list_from_query(9,deptno,'select dname, deptno from dept') deptno
    from emp
    Can anybody help?
    Thanks a lot

    Hi,
    If by "100 instead of 1" you mean the column numbers, then this won't work as you can only have a maximum of 50.
    Andy

  • Search criteria on manually created tabular form

    Hi All,
    Apex v4.0
    DB 11g
    In a page I have created one manually tabular form using collection .
    My requirement is :- Search criteria on the form based on 3 column field of that form.
    I tried to use LIKE, EQUAL in the select statement of the query. BUT search option is not working .
    When I tried to search ,it doesn't return anything.
    But its working on wizard base TF.
    I am not sure this one option for search criteria on the manually created TF.
    Kindly suggest any other way we can achieve it.
    Thanks in Advance !!!
    Regards,
    Amu

    Remember that the values on an apex page is only accessible once you submit your page.
    And for tabular forms the values needs to be processed to the apex collections after you submit.
    For better understanding what happens inside the collections I suggest that you always make a conditional report with
    select * from apex_collectionsand Condition
    Where Value of item in expression1 = Expression2
    Expression1
    DEBUGExpression2
    YESThis way you can show the content of your collections easily by just enabling debug.
    Regards

  • Add row in manually created tabular form

    Hi,
    I have created a manual tabular form in one of my pages, as I need 2 tabular forms.
    In my manual tabular form i have used collection, so while adding a row into it, the whole page get submitted.
    Do some have any idea how to add a row without refreshing the page, also kindly let me know all the steps for it, as I am new to Apex.
    Thanks,
    Rupak

    Hi Kiran,
    My code for tabular form is as below:
    SELECT apex_item.checkbox (40,
    seq_id,
    'onclick="highlight_row(this,' || seq_id || ')"',
    NULL,
    'f40_' || LPAD (seq_id, 4, '0')
    ) DELETE_CHECKBOX,
    APEX_ITEM.hidden (41, seq_id)
    ||
    APEX_ITEM.TEXTAREA (42,
    c001,
    5,
    80,
    'f42_' || LPAD (seq_id, 4, '0'),
    NULL) Major_Risks_Issues,
    APEX_ITEM.TEXTAREA (43,
    c002,
    5,
    80,
    'f43_' || LPAD (seq_id, 4, '0'),
    NULL) Mitigation_Plan_Action,
    APEX_ITEM.SELECT_LIST (44,
    c003,
    'Open;Open,Closed;Closed',
    'f44_' || LPAD (seq_id, 4, '0'),
    NULL) Status,
    APEX_ITEM.hidden (45,
    c004,
    'f45_' || LPAD (seq_id, 4, '0'),
    NULL) RISK_ID
    FROM apex_collections
    WHERE collection_name = 'COLLECTION_GT'
    UNION ALL
    SELECT apex_item.checkbox (40,
    NULL,
    'onclick="highlight_row(this,' || TO_NUMBER (9900 + LEVEL) || ')"',
    NULL,
    'f40_' || LPAD (9900 + LEVEL, 4, '0')
    ) DELETE_CHECKBOX,
    APEX_ITEM.hidden (41, NULL)
    ||
    APEX_ITEM.TEXTAREA (42,
    NULL,
    5,
    80,
    'f42_' || LPAD (9900 + LEVEL, 4, '0'),
    NULL) Major_Risks_Issues,
    APEX_ITEM.TEXTAREA (43,
    NULL,
    5,
    80,
    'f43_' || LPAD (9900 + LEVEL, 4, '0'),
    NULL) Mitigation_Plan_Action,
    APEX_ITEM.SELECT_LIST (44,
    NULL,
    'Open;Open,Closed;Closed',
    'f44_' || LPAD (9900 + LEVEL, 4, '0'),
    NULL) Status,
    APEX_ITEM.hidden (45,
    NULL,
    'f45_' ||LPAD (9900 + LEVEL, 4, '0'),
    NULL) RISK_ID
    FROM DUAL
    WHERE upper(:request) = 'ADD'
    CONNECT BY LEVEL = 1
    My Code for adding a row is as below:
    DECLARE
    vupdatecount NUMBER := 0;
    vinsertcount NUMBER := 0;
    BEGIN
    FOR ii IN 1 .. apex_application.g_f41.COUNT -- SEQ_ID
    LOOP
    -- if it's an existing record
    IF apex_application.g_f41(ii) IS NOT NULL -- contains SEQ_ID
    THEN
    apex_collection.update_member (p_collection_name => 'COLLECTION_GT',
    p_seq => apex_application.g_f41
    (ii),
    p_c001 => apex_application.g_f42
    (ii),
    p_c002 => apex_application.g_f43
    (ii),
    p_c003 => apex_application.g_f44
    (ii),
    p_c004 => apex_application.g_f45
    (ii)
    vupdatecount := vupdatecount + 1;
    ELSE
    apex_collection.add_member (p_collection_name => 'COLLECTION_GT',
    p_c001 => apex_application.g_f42
    (ii),
    p_c002 => apex_application.g_f43
    (ii),
    p_c003 => apex_application.g_f44
    (ii),
    p_c004 => apex_application.g_f45
    (ii)
    vinsertcount := vinsertcount + 1;
    END IF;
    END LOOP;
    END;
    Kindly look into this and let me know if any thing is wrong here.
    Regards
    Rupak

  • Using select list as default value in tabular form.

    Hi,
    I am using Application Express 4.1.0.00.32. I have two questions that are related.
    I have a Select item *'P1_SELECT'* and a tabular form My Items.
    Question 1. The My Items tabular form col1 Attributes are set Display As Text Field, and the Tabular Form Attributes are set Default Type = item(application or page item name), Default = P1_SELECT. I have checked the session state value is set on P1_SELECT ie. Fred. What I need to know is, why, when adding a row to the tabular form My Items does col1 not display 'Fred' as the default value from the select item P1_SELECT? I can change col1 of the Tabular form to be Display as Text (save state) and this will work. However that leads me on to:
    Question 2. After adding say 3 rows to the form, I then change the select P1_SELECT value to Bob and Bob is now set in session state on the P1_SELECT item, but when I again add row to the form the value Fred is still the value not Bob. It seems that the tabular form keeps the default value as Fred and not Bob. How can I get this to look or work like:
    col1_
    Fred
    Fred
    Fred
    Bob
    Your help is needed.
    Thanks.

    Howard (DBA in Training) wrote:
    Do you submit the page or set the value after changing the selection? If not, the display value seems to be Bob but the working value is still Fred. That's what you are seeing right? In the "Settings" section, what do you have for "Page Action when Value Changed". I've been using "Redirect and Set Value" because I was staying on the same page after the selection.
    Additional info which might be helpful (or NOT). ====================
    NOTE: I am just a novice's novice with APEX and I had much agony with Select Lists. It was challenging to have the Select List value displayed because there seem to be so many different sources of the Select List value, namely:
    1) the current value in the session state
    2) the value you can specify in "Source value or expression" in the "Source" section of the Select List item
    3) the value you can specify in the "Post Calculation Compution" in the "Source" section of the Select List item
    4) the value you can specify in the "Default value" of the "Default" section of the Select List item
    [Now, if I've misdescribed any of these, remember, this is from a novice's perspective.]
    It's like putting a clock (back) together. Get any of the pieces wrong and it will probably not work right.
    I had an addiitonal challenge in that I wanted the same Select List displayed on multiple pages and for the currently selected value (from the former page) to already be set on the new page when it was displayed. What fun!
    To see what I did here: http://apex.oracle.com/pls/apex/f?p=43250:101 login Dever/Ima9Dever
    Remember, I'm doing many things you will likely not need to do. I iniitalized the Select List for the first time it displayed. I copied the Select List value from old page to new page by storing it in an application item F217_SYS_NIC_NM.
    Best wishes,
    HowardHi Howard,
    You don't have submit the page for just setting one item's session state. you can use a Dynamic Action OR use Page Items to Submit property if available (this is available in various places such as sql region,chart region etc)
    In context to this question you don't have to do any of those..just see my example above
    Thanks

  • Manually created tabular form

    I created a tabular form manually. I got it to work so that it displays a blank record automatically so the user can insert a new row. But this only gives the user to insert one row at a time. Can this be changed so the user can insert multiple rows at a time?

    Thanks. The tabular form (detail) is actually part of another form based on another table (parent).
    I want to use the apply changes button that the parent form provides to update recrods for the detail form. And for my requirement, I actually need only 3 extra rows, and this is set number for every parent record.
    Can this be done without having to click on add row button, since I only and always need 3 rows?
    Thanks

  • 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

  • Manually Created Tabular Forms and Firefox 4 Problem

    I have a tabular form created with pl/sql dynamic content regions using the apex_item toolkit. An apex collection is used to maintain state for the tabular data entered. It is an application originally created in APEX 1.5 and upgraded through the years to 3.2 . Never a problem with the application until now. I have re-created the issue on the apex.oracle.com site here:
    http://apex.oracle.com/pls/apex/f?p=28213
    Run the application in IE ( I am using 8) and then run in Firefox 4. Enter a quantity in the first item then hit Next and then Previous multiple times. See the problem? The problem does not occur in FF 3.6 or Chrome either. I have not tried Safari as my mac is at home and I am at the office.
    Here is code for both pl/sql regions and the collection update (after submit). Page 2 is just a report selecting from the collection. I have spent a day trying to solve this problem. Any help will be appreciated. Re-architecting without the pl/sql dynamic regions is not an option at this time.
    Dave
    Report region 1: (collection not exists)
    declare
    other1 varchar2(2000) default null;
    other_char varchar2(32000) default null;
    begin
    htp.p('<table border="1" width="100%">');
    htp.tablerowopen;
    htp.p('<th>Description</th><th>Price</th><th>Quantity</th>');
    htp.tablerowclose;
    for rec in (SELECT id, description,to_char(price,'$9,999.99') price
    FROM foodbev_items order by id) loop
    select apex_item.hidden(1,rec.id) into other_char from dual;
    htp.p(other_char);
    select apex_item.hidden(3,rec.description) into other_char from dual;
    htp.p(other_char);
    htp.tablerowopen;
    htp.tabledata(rec.description);
    htp.tabledata(rec.price,'right');
    -- quantity here
    select apex_item.text(6,null,5)
    into other1 from dual;
    htp.tabledata(other1);
    htp.p('<tablerowclose>');
    end loop;
    htp.p('</table>');
    end;
    Report Region 2: (collection exists)
    declare
    other1 varchar2(2000) default null;
    other_char varchar2(32000) default null;
    begin
    htp.p('<table border="1" width="100%">');
    htp.tablerowopen;
    htp.p('<th>Description</th><th>Price</th><th>Quantity</th>');
    htp.tablerowclose;
    -- collection BREAKFAST_SELECTION
    -- 1 is item_id, 3 is descrip 6 is qty
    for rec in (SELECT a.c001 item_id, a.c003 description,to_char(b.price,'$9,999.99') price, a.c006 entered_qty
    FROM htmldb_collections a, foodbev_items b where a.c001 = to_char(b.id) and a.collection_name = 'BREAKFAST_SELECTION' order by b.id) loop
    select apex_item.hidden(1,rec.item_id) into other_char from dual;
    htp.p(other_char);
    select apex_item.hidden(3,rec.description) into other_char from dual;
    htp.p(other_char);
    htp.tablerowopen;
    htp.tabledata(rec.description);
    htp.tabledata(rec.price,'right');
    -- quantity here
    select apex_item.text(6,rec.entered_qty,5,5)
    into other1 from dual;
    htp.tabledata(other1);
    htp.p('<tablerowclose>');
    end loop;
    htp.p('</table>');
    end;
    Collection Update:
    declare
    la_cks wwv_flow_global.vc_arr2;
    other_char varchar2(2000) default null;
    other_char1 varchar2(2000) default null;
    begin
    htmldb_collection.create_or_truncate_collection('BREAKFAST_SELECTION');
    for i in 1 .. htmldb_application.g_f01.count
    loop
    -- 1 is item_id, 2 is numeric price , 3 is descrip, 6 is qty
    htmldb_collection.add_member(
    p_collection_name => 'BREAKFAST_SELECTION',
    p_c001 => htmldb_application.g_f01(i),
    p_c003 => htmldb_application.g_f03(i),
    p_c006 => htmldb_application.g_f06(i)
    end loop;
    end;

    Dave,
    All I am saying is both of your report regions can very easily be made into a sql statement and put into a report region. you can then use the apex builder to format them. How you validate that data is up to you and would not change all that much other than making sure your global arrays are pointing to the same columns. it just looks to me that you are going through a lot more effort to not use what apex will very easily do for you. Plus the more apex built in functionality you use the more robust your application will be in different browsers.
    I tried running your application in IE 7 and FF 3.6 and i did not see any problems. i entered 1,6,4 clicked next. Clicked previous numerous times and was redirected back to the page and saw 1,6,4.
    What is happening when you run the app?
    Thanks,
    Tyson Jouglet

  • Updating a table through a manually created tabular form does not work.

    Hi Friends,
    I don't know why the "On submit - After computations and validations" process does not update the referenced table. May I miss something. Here is my source :
    select
    apex_item.hidden(1,eqp_id) id,
    apex_item.hidden(2,tcs_tcs_id) tcs,
    apex_item.text(3,eqp_equip_name,50) name,
    apex_item.text(4,eqp_equip_ident,50) ident,
    apex_item.text(5,eqp_equip_type,15) type
    from equip_physical
    where tcs_tcs_id = :P1_TCS_ID
    and here is the process source
    FORALL i IN 1..apex_application.g_f01.count
    UPDATE equip_physical
    SET eqp_equip_name=apex_application.g_f03(i),
    eqp_equip_ident=apex_application.g_f04(i),
    eqp_equip_type=apex_application.g_f05(i)
    WHERE eqp_id=apex_application.g_f01(i);
    No error message is displayed and my success message associated to the process is displayed. But the modified text field value is erased and the database table is not updated.

    I'd call it a bug/missing feature.
    It appears that within a Basic report, sorting on a column created using APEX_ITEM.DATE_POPUP2() does not sort by date.
    I'd file this with Oracle Support and see what they say.
    Include a link to this thread and your workspace login information.
    I got something to work by: (probably not what you want.)
    using the C004 column directly. (I just added it to the SQL code)
    setting the column's attribute "Display As" to "Date Picker"
    setting the column's attribute "Number /Date Format" to DD-MM-YYYY
    I suspect: since you don't start with p_idx => 1, this column becomes "1" ==> g_f01
    MK

  • 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?

  • How to create tabular form whithout primary key in table

    Hi All,
    I have requirement to create a tabular form but the problem is, the table which I am using in the application don't have any Primary key, I am using only one table can't change any thing in table.(i.e can't add any row in table,no change in data model)
    How can I create tabular form when primary key is not available.
    looking forward for all of your quick responce.
    Thanks in advance.
    Dikshit Kumar Nidhi

    You can create a view like
    select a.rowid id, a.*
    from table a
    and create a tabular form on this view. You can use
    the new column ID as Primary key.Did you try to actually do this? I did at
    http://htmldb.oracle.com/pls/otn/f?p=24317:159
    And when I change something and click Submit, I get an error
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-01733: virtual column not allowed here, update "VIKASA"."NO_PK_VW" set "ID" = :b1, "I" = :b2, "J" = :b3 where "ID" = :p_pk_col
    Thanks

  • Help with validation on a manually created tabbed form

    version 4.1.1.00.23
    Hello,
    I have a manually created tabbed form that I'm having trouble creating validation on.
    The page is a Resource Staffing page where PM's can forecast the Resources that will be needed for various projects. The forecast can be for 12 - 18 months.
    The requirement is to display a message to the user if they are trying to save a row without forecasting any time. It's possible they may not know how may Resources or the length of time needed when the row is created.  If they respond that they want to save the row without time the MRU will create the record. If they answer that they do not want to save the row they are returned to the page without loss of information.
    The month fields on the page are defaulting to 0 (zero).
    I've updated the Save button to Redirect to URL and in the URL Redirect I have: javascript:confirmNoTimeSaved()
    The javascript:
    [code]
    function confirmNoTimeSaved()
        var arr_jan,arr_feb,arr_mar,arr_apr,arr_may,arr_jun,arr_jul,arr_aug,arr_sep,arr_oct,arr_nov,arr_dec = new Array();
            arr_jan = document.wwv_flow.f07;
            arr_feb = document.wwv_flow.f08;
            arr_mar = document.wwv_flow.f09;
            arr_apr = document.wwv_flow.f10;
            arr_may = document.wwv_flow.f11;
            arr_jun = document.wwv_flow.f12;
            arr_jul = document.wwv_flow.f13;
            arr_aug = document.wwv_flow.f14;
            arr_sep = document.wwv_flow.f15;
            arr_oct = document.wwv_flow.f16;
            arr_nov = document.wwv_flow.f17;
            arr_dec = document.wwv_flow.f18;
        for(i = 0; i < arr_jan.length; i++)
            if(arr_jan[i].value == 0 && arr_feb[i].value == 0 && arr_mar[i].value == 0
                && arr_apr[i].value == 0 && arr_may[i].value == 0 && arr_jun[i].value == 0
                && arr_jul[i].value == 0 && arr_aug[i].value == 0 && arr_sep[i].value == 0
                && arr_oct[i].value == 0 && arr_nov[i].value == 0 && arr_dec[i].value == 0)
                txt = 'You have no time assigned to your Forecast. Do you want to save this Forecast without time entered?' + '\n' + '\n' + '"Yes" to save the Forecast.' + '\n' + '"No" to return with no changes.';
                caption = 'Confirm Saving With No Time';
                vbMsg(txt,caption)
                switch (isChoice)
                    case 6:
                        doSubmit('SUBMIT');
                        break;
                    case 7:
                        doSubmit('CANCEL2');
                        break;
            else
                doSubmit('SUBMIT');   
                break;
    </script>
    <script language="VBScript">
    <!--
    //Yes    = 6
    //No     = 7
        Function vbMsg(isTxt,isCaption)
            testVal = MsgBox(isTxt,vbYesNo,isCaption)
            isChoice = testVal
        End Function
    //-->
    </script>
    [/code]
    The 'CANCEL2' is just a Branch I'm using to branch back to the page without clearing Cache. I do have 'Cancel' button on the page and the Branch created for that clears the Cache.
    While debugging the javascript I get into the VB Script on the testVal = MsgBox(isTxt,vbYesNo,isCaption) line and the browser crashes.
    Can someone help with this requirement?
    What additional information can I provide?
    Thanks,
    Joe

    The code above is my attempt at this requirement, however, the browser crashes when it gets to the VBScript on the MsgBox call. I don't have to use this approach. Does someone have an idea how to solve this?
    Thanks,
    Joe

  • I have date type list field in sharepoint list and i have created one form in sharepoint webpage.

    Hi All,
    i have date type list field in sharepoint list and i have created one form in sharepoint webpage.
    Now i want to save that field from shareepoint webpage, its declared "t1.text" but its showing error.
    How can i save this field?

    Hi AnilKarthink, 
    I wrote a Technet Wiki article on saving data to the various SharePoint fields. You can view it here: http://social.technet.microsoft.com/wiki/contents/articles/21801.sharepoint-a-complete-guide-to-getting-and-setting-fields-using-c.aspx
    Regards, Matthew
    MCPD | MCITP
    My Blog
    View
    Matthew Yarlett's profile
    See my webpart on the TechNet Gallery that allows administrative users to upload, crop and format user profile photos. Check it out here:
    Upload and Crop User Profile Photos

  • Add row not working when creating tabular form manually

    Hi friends,
    I am trying to create a manual tabular form( with the help of Denes's example). When adding a new row by clicking
    the add button new row is added and i can enter data in that row. This works fine when there is only one page.
    Now i have 30 rows in 2 pages. Now when i tried to add a new row by pressing the add button nothing is happening.
    In my add button i have given redirect to the same page and request as ADD and the report query is as below.
    SELECT apex_item.checkbox (1,
                               EQUIPMENT_ID,
                               'onclick="highlight_row(this,' || ROWNUM || ')"',
                               NULL,
                               'f01_' || LPAD (ROWNUM, 4, '0')
                              )Tick,
       EQUIPMENT_ID,
              apex_item.hidden (2,EQUIPMENT_ID)
    ||apex_item.text (3,
                              EQUIPMENT_ROLE,
                              80,
                              100,
                              'style="width:170px"',
                              'f03_' || LPAD (ROWNUM, 4, '0')
                             )|| apex_item.hidden (4, wwv_flow_item.md5(EQUIPMENT_ID,EQUIPMENT_ROLE,EQUIPMENT_VERSION,                       
                             SNMP_PORT,RO_COMMUNITY_STRING ,RW_COMMUNITY_STRING,COMMISIONED_STATE,CUSTOMER_ID,
                             SITE_ID
                             ))EQUIPMENT_ROLE,
    apex_item.text (5,
                             EQUIPMENT_VERSION,
                              80,
                              100,
                              'style="width:170px"',
                              'f05_' || LPAD (ROWNUM, 4, '0')
                             ) EQUIPMENT_VERSION,
    apex_item.text (6,
                             SNMP_PORT,
                              80,
                              100,
                              'style="width:170px"',
                              'f06_' || LPAD (ROWNUM, 4, '0')
                             ) SNMP_PORT,
    apex_item.text (7,
                             RO_COMMUNITY_STRING,
                              80,
                              100,
                              'style="width:170px"',
                              'f07_' || LPAD (ROWNUM, 4, '0')
                             ) RO_COMMUNITY_STRING,
    apex_item.text (8,
                             RW_COMMUNITY_STRING,
                              80,
                              100,
                              'style="width:170px" ',
                              'f08_' || LPAD (ROWNUM, 4, '0')
                             ) RW_COMMUNITY_STRING,
    apex_item.text (9,
                             COMMISIONED_STATE,
                              80,
                              100,
                              'style="width:170px" ',
                              'f09_' || LPAD (ROWNUM, 4, '0')
                             ) COMMISIONED_STATE,
    apex_item.text (10,
                             CUSTOMER_ID,
                              80,
                              100,
                              'style="width:170px" ',
                              'f10_' || LPAD (ROWNUM, 4, '0')
                             ) CUSTOMER_ID,
    apex_item.text (11,
                             SITE_ID,
                              80,
                              100,
                              'style="width:170px"',
                              'f11_' || LPAD (ROWNUM, 4, '0')
                             ) SITE_ID
          FROM EQUIPMENTS_FEAT_MVIEW
          UNION ALL
          SELECT     apex_item.checkbox
                                    (1,
                                     NULL,
                                     'onclick="highlight_row(this,' || ROWNUM || ')"',
                                     NULL,
                                     'f1_' || LPAD (9900 + LEVEL, 4, '0')
                                    ) delete_checkbox,
                     NULL,
                        apex_item.hidden (2, NULL)
                     ||apex_item.text (3,
                                        NULL,
                                        80,
                                        100,
                                        'style="width:170px"',
                                        'f3_' || LPAD (9900 + LEVEL, 4, '0')
                                 ) || apex_item.hidden (4, NULL)EQUIPMENT_ROLE ,
                      apex_item.text (5,
                                 NULL,
                                 80,
                                 100,
                                 'style="width:170px"',
                                 'f05_' || LPAD (9900 + LEVEL, 4, '0')
                                 )EQUIPMENT_VERSION,
                      apex_item.text (6,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f06_' || LPAD (9900 + LEVEL, 4, '0')
                                 )SNMP_PORT,
                     apex_item.text (7,
                                NULL,
                               80,
                                100,
                                'style="width:170px"',
                               'f07_' || LPAD (9900 + LEVEL, 4, '0')
                                 ) RO_COMMUNITY_STRING,
                      apex_item.text (8,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f08_' || LPAD (9900 + LEVEL, 4, '0')
                                 )RW_COMMUNITY_STRING,
                     apex_item.text (9,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f09_' || LPAD (9900 + LEVEL, 4, '0')
                                 )COMMISIONED_STATE,
                       apex_item.text (10,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f10_' || LPAD (9900 + LEVEL, 4, '0')
                                 )CUSTOMER_ID,         
                     apex_item.text (11,
                                  NULL,
                                  80,
                                  100,
                                  'style="width:170px"',
                                  'f11_' || LPAD (9900 + LEVEL, 4, '0')
                                 )SITE_ID
                         FROM DUAL
                        WHERE :request = 'ADD'
    CONNECT BY LEVEL <= 1How can i solve this problem . Please help,
    Thanks,
    Jeev

    Hi,
    The blank row that you get from your second select statement would appear at the end of the report. Put that statement first and it should be at the top of the first page
    Andy

  • Minor glitch with manually created report form

    I don't know if this is "as designed" or not, but it seems like a minor glitch. If I create a report form manually, using htmldb_item syntax and have a column or two using the hidden construct (htmldb_item.hidden) and subsequently go back into the report source to make a change, the hidden columns suddenly become visible again so that I have to go into the report attributes and unlick the show button, even though the field is still defined as hidden.
    Like I said, it's a minor issue, but something that should be probably be cleaned up someday.

    Hi,
    I am also very new in HTML DB and i got lot of help from HTML DB.
    So please try this may it will solve your problem.
    SELECT xy.proj_stat_no, xy.proj_no, xy.stat_dt, xy.in_pgrs_stat_dsc,
    xy.stat_dsc, xy.proj_id
    FROM (SELECT htmldb_item.hidden (31, proj_stat_no) proj_stat_no,
    htmldb_item.text (32, proj_no, 42) proj_no,
    htmldb_item.text (33, stat_dt, 43) stat_dt,
    htmldb_item.select_list_from_query
    (34,
    in_pgrs_stat_dsc,
    'select distinct STAT_DSC, STAT_DSC from PROJECT_STATUS_REF'
    ) in_pgrs_stat_dsc,
    htmldb_item.select_list_from_query
    (35,
    stat_dsc,
    'select distinct STAT_DSC, STAT_DSC from PROJECT_STATUS_REF'
    ) stat_dsc,
    htmldb_item.text (36, proj_id, 46) proj_id
    FROM project_status
    WHERE proj_no = :p3_proj_no) xy
    WHERE 1 = 1
    UNION ALL
    SELECT htmldb_item.hidden (31, NULL) proj_stat_no,
    htmldb_item.text (32, NULL, NULL) proj_no,
    htmldb_item.text (33, NULL, NULL) stat_dt,
    htmldb_item.select_list_from_query (34, NULL, NULL) in_pgrs_stat_dsc,
    htmldb_item.select_list_from_query (35, NULL, NULL) stat_dsc,
    htmldb_item.text (36, NULL, NULL) proj_id
    FROM DUAL
    For more Details regarding Tabular form see the link below:
    http://www.oracle.com/technology/products/database/application_express/howtos/tabular_form.html
    Thank You,
    Amit

Maybe you are looking for

  • WHY is my iMac so slow now? Especially Safari?

    Hey Please please someone help me, i have had my iMac now for two and a half years and its always been fine. Its got 4gb ram and 500gb hard drive. All of a sudden it just started to slow down, so much that everything freezes. Safari is so slow especi

  • Mapping util.Date to Oracle timestamp

    Tuesday, March 22, 2005 I am currently experiencing difficulty in mapping a java.util.Date field to an Oracle TIMESTAMP column. Here's what I see. By default, Kodo maps the date field to a DATE column. I suppose this makes sense since Oracle's date c

  • Why does my photo booth say no camera connected?

    I was trying to take pictures on photo booth and it says "no connection to camera", how do I fix that?

  • Eth0 connectivity depends on eth1 being plugged in?

    The problem is that if I pull the plug out on eth1 (PCI) then eth0 (onboard) connectivity stops. If I pull eth0 then eth1 continues to respond, while eth0 does not. I have seen this now on two different machines, so it seems to me to be a 'feature' o

  • Cant add P!nk to a playlist

    I've noticed that I cant add anything from the P!nk artist to a playlist. Is it something to do with the '!' character in the title perhaps...?? Please dont judge me by by music library contents - my niece adds music to my device! BTW, I think IOS 7