Help on tabular forms

Hi all,
I am new apex. I have couple of questions on tabular form
1. How to add user selectable no of rows display drop down list box on a tabular form (same type of display list box comes default when you create report and form)
2. How to add text search on multi row tabular form.
3. How to call pl/sql procedure when you press button.
4. How to change the query of tabular form when we you click on check box.
5. How to popup a new window when you press a button.
Please help me.
Thanks,

Hi James,
1 - In the Report Attributes for the tabular form, you have an option "Number of Rows (Item)" in which you can specify a page item name (eg, "P1_ROWS"). Obviously, you will also need such an item on your page - typically, this is a Select List with Submit (but could be a normal select list if you intend to reload the page using a button click).
2 - Do you mean a search across all fields on a displayed tabular form or a filter to restrict the rows displayed?
3 - A Process (which is what I think you mean) has a "When Button Pressed" option which allows you to pick the button that triggers your process.
4 - This depends on the checkbox and whether or not you have more than one checkbox. A simpler solution would, perhaps, be to have a select list with the required values (even if that is just "Yes" and "No")
5 - This depends on what the popup page is designed to do. You could look at the following as a starting point:
http://www.oracle.com/technology/products/database/application_express/howtos/how_to_create_custom_popups.html
If 2 and 4 are both to do with filtering the data, then you need to add a WHERE clause to the underlying SQL statement. Something like:
SELECT...
FROM ...
WHERE FIELDX := :P1_PAGE_FIELD
OR FIELDY LIKE '%' || :P1_STRING_SEARCH || '%'
The exact format would depend on the data type of the field being filtered.
You also need to have something on the page that will trigger the page refresh which is required so that the filter can be applied. Normally, this is an unconditional branch (ie, a branch that is not triggered by a button) that branches back to the same page. In the branch definition, you also need to set the "Set these items" and "With these values" to pass back to the page the values in the search fields (eg, P1_STRING_SEARCH needs to be passed back into itself otherwise the field's value is lost when the page reloads and the filter won't be applied). If you are performing a filter using multiple fields, then you would normally apply the filter using a button on the page, so you would select this button as the trigger for the branch - again, this is a "When Button Pressed" setting on the branch definition.
Regards
Andy

Similar Messages

  • Field Level Help on Tabular forms

    Hi,
    Is there any easy way I can add field level help to tabular forms?
    If I create a form on a table I can add help for each field, however if I create a tabular form there seems to be no way I can associate field level help with a column.
    I know that I can add page level help and could describe all of the columns there, but it would be nicer to add individual help to each column.
    Any ideas?
    Thanks,
    Martin

    Hi Martin!
    Take a look at these sites which will provide you more information about your problem.
    [http://apex-at-work.blogspot.com/2008/10/apex-select-list-with-dynamic-help-text.html|http://apex-at-work.blogspot.com/2008/10/apex-select-list-with-dynamic-help-text.html]
    TRICK: Dynamic Item Help Text as Tooltip
    [http://apex.oracle.com/pls/otn/f?p=11933:121|http://apex.oracle.com/pls/otn/f?p=11933:121]
    Regards,
    Tobias
    [http://apex-at-work.blogspot.com/]

  • Help with Tabular form

    Hi
    I am using Apex 4.01 in Oracle 10g
    I need a solution for tabular form issue.
    I am creating a tabular form for a table with 5 colums.
    col1: Primary key
    Col2: seqnumber
    col3: Varchar
    col3: date
    col4: Date
    its a kind of time scheduling.
    I created a tabular form with 3 updatable fields. col 3,4,5
    since its a tabular form the user can add a new row and submit to insert the new row into the table,
    so the primary key (Col1) is automatically doing its seq generator and inserting the key.
    But what I have to do is with col2,
    if the col3 value is not in the table then col2 should insert 1
    if col3 value is already in the table then col2 should insert 2 (incremnt by 1) and so on..
    so this value of col2 should be determined basedon col3.
    How to do that for Tabular form in Apex.
    Thanks,
    Rik

    It doesnt matter how you add a row in APEX application. Internally APEX issues INSERT or UPDATE statements when you submit the page. This in turn triggers your DB triggers and you can do your stuff in the DB trigger. If there is no need to refer page item you don't have to as long as all the fields are DB fields.
    I hope I answered your question.
    Sukarna
    Edited by: Sukarna on Jul 19, 2011 12:21 PM

  • Disable Check box in tabular form

    Hi,
    I am working on apex4.1. I have created a tabular form.There is 2 columns Approve and Cancel. if I tick on cancel check box then Approve check box column should disable and vice versa.
    How can i do this ?
    Thanks & Regards
    Vedant

    hi,
    this thread maybe help you
    Tabular Form: Enable/Disable a field based on the status of a check box
    regards,

  • ORA-06502 on "Help Text" region when changing pages on a tabular form

    Hello everybody,
    We are developing an application on Apex 4.1.0.00.32. This application have some pages with tabular forms and these pages uses a page zero as template. In this page zero, we have added two sidebar regions: a list region to navigate on the application and a help text to describe how to use our application.
    The problem occurs when the tabular split the records into pages (since it has more records that it can show on a single page). When the user clicks to change to another page, Apex raises an ORA-06502: PL/SQL: numeric or value error as described below:
    Erro ao renderizar a região "Ajuda". ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    Informações Técnicas (visível somente para desenvolvedores)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: Ajuda
    error_backtrace:
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    Obs: Our database is in Brazilian Portuguese, so I guess it will be hard for some people to understand the first two lines! :)
    We have tried to change the pagination style of the tabular form and change the region model of the help text but the problem still happens.
    Does anyone an ideia about what this may be?
    Thanks in advance!

    I am getting the exact same message, to the line number, also in APEX 4.1.0.0.32.
    Occurs when changing pages in a classic report, Standard region template, select list pagination, when selecting a different pagination set.
    In English:
    Error during rendering of region "Matched Participants Help & Hints".
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: <strong>Matched Participants</strong> Help & Hints
    error_backtrace:
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    There are no conditions on the region, and no date string within the Help text. Some HTML <strong> tags, that's it.
    The Help region renders fine the first time.
    The Debug info does not help any:
    3.798360.00062Computation point: After Box Body4
    0
    3.798990.00081Processes - point: AFTER_BOX_BODY4
    0
    3.799790.00068Region: <strong>Matched Participants</strong> Help & Hints4
    0
    3.800470.00213Region rendered dynamically because request was not null4
    0
    3.802590.00096Add error onto error stack4
    0
    3.803550.00084...Error data:4
    0
    3.804400.00084......message: Error during rendering of region "<strong>Matched Participants</strong> Help & Hints".4
    0
    3.805240.00084......additional_info: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.806080.00081......display_location: ON_ERROR_PAGE4
    0
    3.806890.00081......is_internal_error: true4
    0
    3.807700.00084......apex_error_code: APEX.REGION.UNHANDLED_ERROR4
    0
    3.808540.00082......ora_sqlcode: -65024
    0
    3.809350.00234......ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.811700.00082......error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654 ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204 4
    0
    3.812510.00081......component.type: APEX_APPLICATION_PAGE_REGIONS4
    0
    3.813310.00110......component.id: 24
    0
    3.814420.00099......component.name: <strong>Matched Participants</strong> Help & Hints4
    0
    3.815400.00076...Show Error on Error Page4
    0
    3.816160.00344......Performing rollback4
    0
    3.819610.00225Processes - point: AFTER_ERROR_HEADER4
    0
    3.821850.00268Processes - point: BEFORE_ERROR_FOOTER4
    0
    3.82453-End Page Rendering
    Any thoughts on where to poke around for this one?
    Thanks - Karen

  • Checkbox in tabular form - help needed

    I'm trying to build a tabular form, with a checkbox for a field that can have value 'Y' or 'N'. Adding the checkbox is no problem, with the htmldb_item.checkbox API.
    However, processing it is.
    On this forum I found a way to process the checkboxes, by looping through all the records (with the help of htmldb_item.hidden in which the id is stored) and reading the value from the checkboxes and updating the column if the checkbox is checked. (see Re: Report with updateable checkbox)
    however, as soon as I add a htmldb_item.hidden item, I receive the following error when I submit the tabular form to the Multi Row Update process:
    "Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. "
    My query:
    Select id
    ,htmldb_item.hidden(1,id)
    ,htmldb_item.checkbox(2,id, decode(field, 'Y', 'CHECKED', NULL))
    from table
    What am I doing wrong?
    is there a better way to process a tabular form with checkboxes?
    Or should I process all the rows manually by updating every record even if it hasn't changed (with a loop through all the records)?

    Tonnie, did you ever get an answer to this question?
    Michael Cunningham

  • Help using a dynamic action to update tabular form items (specifically radio button) based on collection

    Hi Everyone, I have posted this question in the past and made huge progress with Denes Kubicek's help:  https://apex.oracle.com/pls/apex/f?p=31517:294:115851992029365::::: based on my earlier question posted: https://forums.oracle.com/forums/thread.jspa?threadID=2537494
    I am struggling with one item in my tabular form.  It is a radio button.  The choices all appear properly, but the value is not saved in the collection (and hence, not saved in the table).  All other items in the tabular form save properly.
    here is what I have for the query.   It is item c024 (which maps to ;'f03'), which is defined as a radio LOV based on an existing LOV.
    Currently I have:
    2 page items:
    P110_ID
    P110_VALUE
    Dynamic action called CHANGE COLUMN:
    event: CHANGE
    selection type: jQUERY Selector
    jQuery:
    jQuery Select = input[name='f03'],select[name'f08'],select[name='f09'],input[name='f10'],input[name='f11'],input[name='f12'],select[name='f40'],input[name='f21'],input[name='f22'],input[name='f23'],input[name='f50']
    event scope: Dynamic
    true action#1: set value P110_ID javascript expression this.triggeringElement.id
    true action#2: set value P110_VALUE javascript expression this.triggeringElement.value
    true action#3: execute pl/sql code
    declare
      v_member number;
      v_seq number;
    begin
      v_member := TO_NUMBER (SUBSTR (:p110_id, 2, 2));
      select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
      safis_collections.update_column(v_seq,
                                    v_member,
                                    :p110_value);
    true ation#4 refresh region :LANDINGS_COLLECTION
    the tabular form is based on the query:
    SELECT
    apex_item.text(1,seq_id,'','','id="f01_'||seq_id,'','') "DeleteRow",
    seq_id,
    seq_id display_seq_id,
    apex_item.text_from_LOV(c004,'SPECIES')||'-'||apex_item.text_from_LOV(c005,'GRADE')||'-'||apex_item.text_from_LOV(c006,'MARKETCODE')||'-'||apex_item.text_from_LOV_query(c007,'select unit_of_measure d, unit_of_measure r from species_qc') unit,
    apex_item.select_list_from_LOV(8,c008,'DISPOSITIONS','onchange="getAllDisposition('||seq_id||')"','YES','0','  -- Select Favorite --  ','f08_'||seq_id,'') Disposition,
    apex_item.select_list_from_LOV(9,c009,'GEARS','style="background-color:#FBEC5D; "onFocus="checkGearPreviousFocus('||seq_id||');"onchange="getAllGears('||seq_id||')"','YES','3333','-- Select Favorite --','f09_'||seq_id,'') Gear,
    apex_item.text(10,TO_NUMBER(c010),5,null, 'onchange="setTotal('||seq_id||')"','f10_'||seq_id,'') Quantity,
    apex_item.text(11,TO_NUMBER(c011),5,null,'onchange="getPriceBoundaries('||seq_id||')"','f11_'||seq_id,'') Price,
    apex_item.text(12, TO_NUMBER(c012),5,null, 'onchange="changePrice
    ('||seq_id||')" onKeyDown="selectDollarsFocus('||seq_id||',event);"','f12_'||seq_id,'') Dollars,
    decode(c013,'Y',apex_item.text(14, c014,30,null,'style="background-color:#FBEC5D;" onClick="onFocusAreaFished('||seq_id||');"','f14_'||seq_id,''),'N','N/A') Area_Fished,
    decode(c017,'Y',apex_item.text(18, c018,4,null,'style="background-color:#FBEC5D; "onBlur="setUnitQuantity('||seq_id||')"','f18_'||seq_id,''),'N','N/A') UNIT_QUANTITY,
    decode(c017,'Y',apex_item.text(19,'CN',3,null,'readOnly=readOnly;','f19_'||seq_id,''),'N','N/A') UNIT_COUNT,
    c024 hms_flag,
    decode(c050,'Y',apex_item.checkbox(21,'Y','id="f21_'||seq_id||'" style="background-color:#FBEC5D; " onClick="alterYes('||seq_id||');" onKeyPress="alterYes('||seq_id||');"',c021),'N','N/A') FinsAttached,
    decode(c050,'Y',apex_item.checkbox(22,'N','id="f22_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterNo('||seq_id||');" onKeyPress="alterNo('||seq_id||');"',c022),'N','N/A') FinsNotAttached,
    decode(c050,'Y',apex_item.checkbox(23,'U','id="f23_'||seq_id||'" style="background-color:#FBEC5D;" onClick="alterUnk('||seq_id||');" onKeyPress="alterUnk('||seq_id||');"',c023),'N','N/A') FinsUnknown,
    decode(c050,'Y',apex_item.textarea(28,c028,3,null,null,'f28_'||seq_id,''),'N','N/A') Explanation,
    decode(c024,'N',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'U',apex_item.select_list_from_LOV(29,c029,'HMSNATURE','onchange="saveNature('||seq_id||')"','YES','A','-- Select Nature of Sale --','f29_'||seq_id,''),'Y','N/A') Nature_Of_Sale,
    decode(c020,'Y',
    apex_item.select_list_from_LOV(40,c040,'HMS_AREA_CODE','style="background-color:#FBEC5D;"',null,null,null,'f40_'||seq_id,''),
    'N','N/A') HMS_AREA_CODE,
    c020,c050,
    decode(c020,'Y',
    apex_item.text(41,TO_NUMBER(c041),5,null,null,'f41_'||seq_id,''),
    'N','N/A') Sale_Price
    from apex_collections
    where collection_name = 'SPECIES_COLLECTION' order by seq_id
    I have noticed the following:
    when I change column C011 (price) the following values are set in the dynamic action:
    P110_ID = f11_1
    P110_VALUE = whatever I change the price to.
    when I change the column C024 (hms_flag), the following values are set:
    P110_ID = f03_0001
    P110_VALUE = whatever I change hms_flag to.
    the region is refreshed in my dynamic action, and the change for hms_flag does not hold.  I have tested the SQL query that generates the value for v_SEQ in the dynamic action.   In both a change to price and HMS_FLAG it appears valid
    select ltrim(substr(:p110_ID,5,4),'0') into v_seq from dual;
    if f11_1, v_seq:= 1
    if f03_0001, v_seq := 1
    thank you!

    solved.  sort of. 
    field c024 references f03.
    the Dynamic ACtion, step 4 calculates v_member by taking a substring of P110_ID...and in all other fields, the column and the field (fxx) are the same value....except for c024.
    I am not certain exactly how to resolve, but see the problem.

  • Help needed in row selection in Tabular form across pages

    Hi,
    I have a tabular form report similar to http://htmldb.oracle.com/pls/otn/f?p=31517:95. I want to select some rows from first page and then use the pagination to get to the next page, select some more rows and hit the submit button for processing. The rows selected in the last page alone are picked up for processing, and the ones selected in the earlier pages are lost. I see the same behaviour in Denes' example as well. I picked a row in the first page and a row in the next page, and then click "Pick Records", i see only the record i picked on the second page.
    I did play around with "partial page refresh" setting for the tabular form region, but that does not help.
    Is there a way to select across pages in a tabular form?
    thanks,
    Rams
    Edited by: rams1234 on Jan 22, 2009 10:19 AM

    Okay. I could make this work, but this seems to be a roundabout way for me. In my case I dont have any database related query to get the values, hence the Application level process may not be needed.
    When I select the checkbox, i get the value. I am hoping that I should be able to send the value to a javascript function and update the filed value in the function itself. Please see the function below..
    function setFileID(pThis) {
    var chkvals=pThis.value;
    var fldValue = new $x('f_FILELIST').value ;
    if (fldValue != 0)
    { $x('f_FILELIST').value= fldValue+'-'+chkvals;}
    else
    { $x('f_FILELIST').value = chkvals ;}
    This function works fine in making up the list. The issue is, when an already selected row is unselected, the value of the checkbox gets added one more time :) If I detect the checkbox status and subtract the corresponding value, this will be perfect..
    Thanks for the link anyway. I am marking this question answered.
    regards,
    Rams.
    Edited by: rams1234 on Jan 22, 2009 1:18 PM

  • I have developed a little tool to help with Dynamic Tabular Forms....

    I have created a little framework which will help people to develop dynamic actions in tabular forms.
    It currently only supports text and display only but if necessary I'm willing to expand this little tool...
    You can find it here: http://linuxservernico.no-ip.info:8888/JSON_Tabular_form.zip
    Please let me know of what you think about it and how to improve it...
    To be continued,
    Nico

    The problem is that APEX doesn't support dynamic actions and plugins on a tabular form (not yet).
    For now my implementation is just on overloading of the apex_item implementation of apex.
    Check the readme.txt for installation it isn't that hard but you need to understand the context.
    Thnx for the positive response
    Br,
    Nico

  • Cascading select list in a tabular form -plz help me out

    hello,
    how can i implement cascading select list for filtering my tabular form report results.
    Like i want to have the cascading select list's above the tabualr form report such that when i select the value in one select list, this should populate the values in other select list box(like one select list is dependent on other select list) and try to click a button say refresh, my tabular form report should be refreshed and should filter the report based on the select list value.
    i want to have three select list items above my report - and these select list are dependent on one other - tats why i want to make them cascading select list.
    can anyone provide me with an example of the cascading select list.
    can anyone help me out with cascading select list.
    thanks.

    Aplication item is always hidden - Shared Components > Application Items. You can create only one item and that would also be enough. For transparency purposes I said to create two. However, one will do the job.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Help- I have added a field in my tabular form and now i get an error in mul

    Help- I have added a field in my tabular form and now i get an error in muli update form; Here is the error, how do I go in to change the process, adding the extra field??
    Error in mru internal routine: ORA-20001: Error in MRU: row= 1, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process. current checksum = "F10F6D7EC4CF938382C6DC2EE22800F6", item checksum = "90E47F32E95B71B7A9D47A1311063445"., update "CAPRS"."CONTRACT_ERRORS" set "ID" = :b1, "CONTR_NUM" = :b2, "REPT_MONTH_CD" = :b3, "REPT_FISCAL_YEAR" = :b4, "REPORT_FAC_CAGE_CD" = :b5, "END_ITEM_NUM" = :b6, "END_ITEM_DESC" = :b7, "WSSC" = :b8, "WBS_CD" = :b9, "WPC_CD" = :b10, "CONTR_CLIN" = :b11, "CO
         Error      Unable to process update.

    Hi,
    I believe the error is due to the checksum process which doesn't have that additinoal field's information. You can try creating the form again with the additional field, or if needed you can go with the Manual tabular form.
    Thanks,
    Manish

  • Need help with Apex 4.0 tabular form and searchable select list

    I would like to use an exisiting plugin for a searchable combo box on a tabular form. When I define the item types on my tabular form I don't see the plugin as an option. I reviewed the help documentation for the apex_item api for the tabular form but I didn't see how I could reference the plugin. Has anyone done this or have other ideas? Any help would be greatly appreciated.

    I noticed this problem in the first beta version but I thought this is so obvious and it will be corrected so I didn't follow on it further. This looks like a bug in 4.0. If I use firebug, I will see that the selected value is still RESEARCH allthough the display changes - <option selected="selected" value="20">RESEARCH</option> If I click on SAVE than wrong values will be changed.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Tabular Form Validation Help

    Version 2.0
    I have a Tabular Form that represents Show dates. There are three displayed fields: Description (Text Field), Date (Date Picker), and Active (Static Select List: Yes;1,No,0).
    I need help to create a page validation to make sure that only one show is ACTIVE at a time when the row is submitted.
    Thanks,
    Joe

    On the database side, I use the following technique to implement a "radiobutton" constraint. I think I picked it up from AskTom.
    If you have a table like
    create table t
      show_id int,
      show_date varchar2(50),
      active_flag varchar2(1),
      constraint t#pk primary key (show_id,show_date)
    );which is what I think your data model looks like.
    You want to ensure that for a given show, only 1 show_date is active (radiobutton-style).
    Create the following function-based index on the table
    create unique index i on t(decode(active_flag,'Y',show_id));This will prevent invalid data from getting into the table, no matter what.
    Regarding your Apex issue, I would suggest that when you add a row to the tabular form, default the select list to Inactive. You can use client-side Javascript to do some toggling of the select lists, but that really assumes that all the rows are being shown in the tabular form. In any case, the unique index above would guarantee data integrity when the data finally hits the database.
    Hope this helps.

  • Tabular Form with updateable keys??? Help!!

    I have been trying to set up a timesheet/scheduling package using my PT job as a real world framework from which to pull ideas. The job is at a concert venue.
    The idea is to be able to schedule an event, then add existing employees and add the appropriate employee to that event.
    I have the tables already setup: EVENTS which consists of 'event_name', event_time_and_date, unique_event_id(priKey), etc... Employees which is first,last,empnum(priKey),etc.... And most importantly a Schedule table which is empnum(priKey,foreign to employees), eventid(secKey,foreign(sp?) to unique_event_id), time in, time out, etc....
    Everything is great except that I cannot add an employee to an event using the Tabular Form as the empnum primary key needs to be defined by a dropdown LOV(my criterea) and the eventid needs to be defaulted to the passed in value. It seems the Form is not setup to operate that way. I have included a link to my mock-up on oracle's free HTMLDB space so that the lucky individual who decides to aide this lost soul can see what I'm on about. I have been able to do it via single drop downs, but that is one person at a time. The table is the best way visually to see who has, and has yet to be added to an event.
    http://htmldb.oracle.com/pls/otn/f?p=38803:1
    Click on schedule and choose 'Assign Employee' and click the event in January to get to the 'Add Employee' page.
    The number present on the page should be hidden but is visible for debugging purposes. It is the unique event ID that the SQL bind refers to filter the list to the event in question.
    Thank you very much,
    brux2dc

    From the trigger code I see a new PK being generated. Just so I am understanding what is going on, the new pk will in no way be used except to keep the tabular form in order.
    The data in the intersection table will look like this:
    EMPNUM(PK) | EVENTID(PK)
    1 | 1001
    1 | 1002
    1 | 1003
    2 | 1001
    2 | 1003
    3 | 1002
    The tabular form will enter data so that an already existing eventid will be associated with multiple empnums. The eventid is passed to a hidden textbox. This is where the fixed eventid comes form and the empnums become the only variable per new row.
    What should happen when I click on Add Row is that a new row appears with the eventid already set as PK1 and the LOV with EMPNUM as PK2. So before insert the screen would have:
    EMPNUM(PK) | EVENTID(PK)
    1 | 1001
    2 | 1001
    3 | 1001
    5 | 1001
    I just wanted to clarify further what my intent is. I appreciate all your help so far.
    brux2dc

  • Help needed with tabular form

    hello,
    I have a table with an flag_indicator whose default value is 0 which is of number datatype.
    and I am displaying the column falg_indicator it as a standard report column in my tabular form with value 0.
    but the thing is that now I want to display te column as " NO" in my tabular form (shouldn't be editable column)
    jst want to display as "NO" in my column instead of 0.
    can anyone help me out with this.
    thanks.

    Hi,
    If you change your column in select use decode function ?
    Something Like this
    DECODE(your_column,'0','NO',your_column) AS your_column_nameBr, Jari

Maybe you are looking for

  • File Content Conversion (receiver) and special characters

    Hi all, I have a scenario that has a file receiver channel with content conversion. The record structure in the flat file is field-width delimited (hence no field separator) and the parameter 'fieldLengthTooShortHandling' has the value 'Cut' because

  • Magic Mouse + Win 7 64-bit.

    Hello, I have a old Microsoft Wireless Laser Mouse 8000 that is on its final days. I was wondering if a Magic Mouse would be a good replacement. Does it work fully with Win 7? If not, are there some 3rd party drivers that will make it work 100%? Than

  • RG Registers

    Hi All, As we know that there are standard RG registers and excise registers, in xl reporter.  Is it possible to generate the same reports using Query Wizard or genarator. If so what all fields should i consider in the report. Can any one help me out

  • N80 firmware upgrade product code

    I HAVE READ YOU BOARD RE PRODUCT CODE VARIANTS. VODAFONE ASSURE ME THAT THEY HAVE PROVIDED NOKIA WITH THEIR VARIANT?? MY N80 PRODUCT CODE IS 0535066 CAN YOU HELP MANY THANKS AGAIN FOR YOUR ASSISTANCE

  • Line no Problem

    HI While doing shipment in Purchasing, The line no should come automatically but now it is not coming. How to get it Regards, Prabhu