Query mode of Master Detail Form

I have a master-detail form.
I'm passing parameters to that form to autoquery data.
Everything works fine but "Next" button in a detail block.
I'm getting:
An unexpected error occurred: ORA-06502: PL/SQL: numeric or value error: NULL
index table key value (WWV-16016).
After autoquery LASTIN_SET variable of DEFAULT block is set "5" (number of rows in detail block).
When I click on "Next" button LASTIN_SET variable is set to "0" instead of "5" and that causes a problem.
So, somehow LASTIN_SET is not preserved between clicks.
In fish_size_form master-detail form
... before displaying the page
shrimp.p_set_parameter_fish_size(p_session,
p_block_name,
p_object_name,
p_instance,
p_event_type,
p_user_args
This is a code of shrimp.p_set_parameter_fish_size
p_session in out nocopy portal92.wwa_api_module_session,
p_block_name varchar2,
p_object_name varchar2,
p_instance varchar2,
p_event_type varchar2,
p_user_args varchar2
is
sess_store portal92.wwsto_api_session;
status varchar2(80);
station varchar2(80);
date_time varchar2(80);
sample varchar2(80);
species_code varchar2(80);
form_state varchar2(100);
begin
form_state := p_session.get_value_as_varchar2(
p_block_name => 'MASTER_BLOCK',
p_attribute_name => '_FORM_STATE');
if form_state = 'QUERY_AND_SAVE' then
sess_store := portal92.wwsto_api_session.load_session(
p_domain => 'sfnrc',
p_sub_domain => 'shrimp');
status := sess_store.get_attribute_as_varchar2(p_name => 'status');
if status = 'apply' then
station := sess_store.get_attribute_as_varchar2(p_name => 'station');
if station is not null then
p_session.set_shadow_value(
p_block_name => 'MASTER_BLOCK',
p_attribute_name => 'A_O_S_M_O_STATION__ID_K',
p_value => '='||station,
p_language => portal92.wwctx_api.get_nls_language );
end if;
date_time := sess_store.get_attribute_as_varchar2(p_name => 'date_time');
if date_time is not null then
p_session.set_shadow_value(
p_block_name => 'MASTER_BLOCK',
p_attribute_name => 'A_O_IN__SAMPLE_IN__DATE_TIME_K',
p_value => '='||to_char(to_date(date_time,'yyyy/mm/dd hh24mi'),'yyyy/mm/dd hh24:mi'),
p_language => portal92.wwctx_api.get_nls_language);
end if;
sample := sess_store.get_attribute_as_varchar2(p_name => 'sample');
if sample is not null then
p_session.set_shadow_value(
p_block_name => 'MASTER_BLOCK',
p_attribute_name => 'A_OBSERVED_IN__SAMPLE_NUMBER_K',
p_value => '='||sample,
p_language => portal92.wwctx_api.get_nls_language);
end if;
species_code := sess_store.get_attribute_as_varchar2(p_name => 'species_code');
p_session.set_shadow_value(
p_block_name => 'MASTER_BLOCK',
p_attribute_name => 'A_S_I_PROJECT_SPECIES_CODE_K',
p_value => '='||species_code,
p_language => portal92.wwctx_api.get_nls_language );
sess_store.set_attribute(p_name => 'status',p_value => 'done');
sess_store.save_session;
p_session.save_session;
fish_size_form.wwv_master_gensys_1(
p_block_name => p_block_name,
p_object_name => p_object_name,
p_instance => p_instance,
p_event_type => p_event_type,
p_user_args => p_user_args,
p_session => p_session );
end if;
end if;
end;
What I'm missing here.
Aantoliy.

Say, I click on Update Push button. This will invoke a LOV that will occurs 5 times and then display the header and detail record.
Even if, I am able to get the records in the canvas, I am not able to update the records of the master. The record_status is in INSERT mode of the header block. Interestingly, if i click 2nd time on update button and then get the records after executing LOV, the query enters the query mode and I am able to update the records then.
Please suggest how to overcome the problem on a sigle click on UPDATE button.

Similar Messages

  • Query  button in Master/Detail form

    Hello All,
    I created a Master / detail form...looks good for a blind query and for a specific column value...
    The problem is When the user selects query button ,how do I show records that the logged in user has created.
    Am already storing username in the table when the user inserts new record.
    Appreciate if you could send code ..if that's the choice to fix my issue..
    Thanks in advance
    Babu

    Hi,
    Write the following code in 'Query' event of the 'Query' button in your form ..
    p_session.set_shadow_value(p_block_name => 'DEFAULT',
    p_attribute_name => 'A_USER_ID',
    p_value => portal30.wwctx_api.get_user,
    p_language => PORTAL30.wwctx_api.get_nls_language);
    doQuery;
    Replace 'A_USER_ID' with name of your user id field . I hope you have selected this field in your form and if not select this field & hide it in the form to make this code to work.
    -Krishnamurthy

  • Master Detail Form - How 2 update a field in the Detail form using a query?

    Hello,
    I have a master detail form with, each master record having a fixed(6) number of detail records. One of the fields in the detail record is the PART_DESCRIPTION field. I am trying to update this field by querying Table_X. TABLE_X is in the format of (desciption id, description). Description id runs from 1 to 6.
    When the form displays, the PART_DESCRIPTION field for the 6 detail records needs to be automatically populated with the six values of description stored in Table_X. How can this be done?
    Tried using session storage objects, but made no headway.
    Would greatly appreciate pointers on how to go about doing this.
    Thanks.
    Dev

    If you are on a Portal Version lesser than 3.0.9.8.3, then please try the following to populate
    the PART_DESCRIPTION field.
    Steps:-
    1> Edit the form and go to the Additional PL/SQl section and put the following code in the
    "...after displaying the page area" :-
    declare
    type t_vc_arr is table of varchar2(4000) index by binary_integer;
    l_arr_desc t_vc_arr;
    l_form_name varchar2(200);
    l_form_state varchar2(500);
    begin
    l_form_name := p_session.get_module().get_name();
    l_form_state := p_session.get_value_as_varchar2(
    p_block_name => 'MASTER_BLOCK',
    p_attribute_name => '_FORM_STATE'
    if l_form_state = 'QUERY_AND_SAVE' then
    select description
    bulk collect into l_arr_desc
    from <schema>.table_x;
    htp.p('
    <script>
    var descArr = new Array();
    var Fidx = 1;
    var formObj = document.WWVM'||p_session.get_id()||';
    var fieldName = "'||l_form_name||'.DETAIL_BLOCK.PART_DESCRIPTION.0";
    for i in 1..l_arr_desc.count loop
    htp.p('descArr['||to_char(i-1)||']="'||l_arr_desc(i)||'";');
    end loop;
    htp.p('
    for (var i=0; i < formObj.length; i++){
    if (formObj.elements.name == fieldName+Fidx){
    formObj.elements[i].value = descArr[Fidx-1];
    ++Fidx;
    htp.p('</script>');
    end if;
    end;

  • Master-Detail Form - implementing some thing like Post-Query trigger

    Hi all,
    I am struggling to implement an eqivalent of a post-query trigger in Oracle Forms. Please bear with me as I am trying to explain in detail what the problem is.
    Here is my situation.
    I have three tables EMP, DEPT and LOCATION. I created a Master/Table pages on EMP and DEPT.
    Basic relationships.
    Each LOCATION has one or more DEPTs; Each DEPT is at one and only one LOCATION.
    Each DEPT has one ore more EMPs; Each EMP is assigned to only and only DEPT.
    Not getting too complicated, here are the table layouts:
    LOCATION:
    ID number(10,0) not null,
    NAME varchar2(20) not null
    DEPT
    ID number(10,0) not null,
    NAME varchar2(20) not null,
    LOC_ID number (10,0) not null foreign key from LOCATION
    EMP
    ID number(10,0) not null,
    NAME varchar2(20) not null,
    DEPT_ID number (10,0) not null foreign key from DEPT
    Assume I have all the constraints, BIU triggers, sequences defined properly.
    I am using the APEX page wizard to create a Master/Detail Form on DEPT and EMP. The first page is the Master Report on DEPT. I want to display the Location Name on this page also. Because the Master Report allows
    you to change the query, I was able to add the Location Name as part of the
    query. This was very simple.
    Select a.name "Department_Name",
    b.name "Location"
    from dept a, location b
    where a.loc_id = b.id
    Moving on, In the Master Detail Form, I would like to get the Location Name as part of the first Region (Dept Region).
    In this region, I would like to include the Location Name also. So my first region on the Master Detail form includes:
    Dept Id: ________
    Dept Name: _______
    Location Name: __________
    As Region are automatically populated using using a Fetch Row from EMP table (Automated Row Fetch) on an After Header process point, I don't have a way of including the Location as part of query. So I created a Region level Item called Location Name, made it Display only.
    In the old SQL*Forms, or Oracle Forms days, I used to use a Post-Query trigger, or Post-Change trigger to fire on the Loc_Id column to populate the Location Name. Simple fetch like:
    Select name
    into :P80_location_name
    from location
    where loc_id = :P80_loc_id
    However, I am struggling to implement some thing simple like this in APEX. Tried creating a processes, computatations etc, but nothing is working.
    I have seen some previous responses to fetching values from a foreign table
    using a button or AJAX script, but this should be very basic. What am I
    missing here?
    Appreciate any insights.
    Thanks.
    John

    Hi John,
    I'm not too familiar with the post-query triggers in Oracle Forms, but the use of a List of Values (LOV) on your LOCATION table might do the trick for you. If you create a dynamic LOV based on your LOCATIONS table, it can then be referenced by the LOC_ID item on the Master-Detail page, to display the Location Name. You could try doing the following:
    1. Create a new dynamic LOV, LOCATIONS, using a query similar to the following:
    select Name d, ID r
    from LOCATION
    order by 1
    2. Edit the "Create" button on the Master report page, and in the "Optional URL Redirect" section set "Request" to CREATE. Click Apply Changes, to save the setting.
    3. Edit the LOC_ID item on your Master-Detail page, and set the following:
    * in the "Name" region change the "Display As" setting to Select List
    * in the "Label" region change the Label to Location Name.
    * in the "List of Values" region set the "Named LOV" to LOCATIONS
    * in the "Read Only" section, set the condition to Request != Expression 1, and set Expression 1 to CREATE.
    Click Apply Changes to save the settings.
    When you run the pages now, the Location Name field will appear as Read-Only when editing a selected Master row. The item will appear as a Select List when the user clicks "Create" on the Master page, to create a new Master row.
    I hope this helps.
    Regards,
    Hilary

  • Auto Query in Master Detail Form using dynamic page doesn't work

    I created a Master-Detail form, and implement AutoQuery using a dynamic page
    with the following code :
    <HTML>
    <BODY>
    <ORACLE>DECLARE
    nre_ VARCHAR2(100);
    BEGIN
    nre_ := emp_nre;
    if nre_ is not null then
    net_portal.Popula_Agregados(nre_);
    net_portal.Popula_Docs_Agregados (nre_);
    htp.p('<iframe id=myFrame name="myFrame" frameborder=0 width="250%"
    height="300"
    src="/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=
    3
    388118140&p_arg_names=_show_header&p_arg_values=NO&p_arg_names=_cad_nre_cond&p_a
    rg_values=%3D&p_arg_names=cad_nre&p_arg_values='||nre_||'">
    </iframe>');
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    htp.p(SQLERRM);
    END;
    </ORACLE>
    </BODY>
    </HTML>
    It works fine when we access the first time to the page, but if i press the
    save button after inserting or updating a detail record, the header record is
    lost. How can i avoid this situation ?

    I changed query:
    select
    Replace(
    '<img src="#IMAGE_PREFIX#ed-item.gif" border="0" alt="EditMap" usemap="#editmap***id***"></img>
    <map name="editmap***id***">
    <area shape="rect" coords="0,0,16,16" href="http://apex.oracle.com/pls/otn/f?p=&APP_ID.:'
    || decode ( type, 'FOLDER', '33', '22' )
    || ':&APP_SESSION.::&DEBUG.::P'
    || decode ( type, 'FOLDER', '33', '22' )
    || '_ID,P'
    || decode ( type, 'FOLDER', '33', '22' )
    || '_CALLING_PAGE:' || id || ',&APP_PAGE_ID." ></area></map>' ,
    '***id***', id
    ) Edit,
    id,
    type,
    name,
    decode ( type, 'FOLDER', 33, 22 ) target
    from tThe idea is - each img uses its own map.
    It works now.
    Check:
    http://apex.oracle.com/pls/otn/f?p=20980:13
    Lev
    Edited by: le on Nov 3, 2010 11:11 AM

  • How to set the Master Action of a master detail form?

    Hi,
    I have a regular form navigates to a master detail form in
    insert mode. How do I make the MASTER_ACTION show up
    as "Insert" instead of "None"? If I call the Master detail form
    in auto query mode, it will show up as "Update" in the
    MASTER_ACTION. How do I make the MASTER_ACTION show up as
    "Insert" instead of "None"?
    Any ideas are highly appreciated.
    Thanks;
    Kelly.

    Just have a look over these two statements if it solves your problem
    one time where clause
    Set_Block_Property('BLOCK_NAME',ONETIME_WHERE,your form item);
    dynamic where clause
    set_block_property('BLOCK_NAME'default_where, your form itme)
    you can where clause at run time from any procedure or some triggers

  • Previous&Next button not appearing in Master/Detail form

    Hi,
    I have a master/detail form.I published it as a portlet .
    When I run it as a portlet or in a page..I am NOT seeing PREVIOUS and NEXT button
    I see the two buttons in edit mode for both Master & Detail Block.
    Even I changed the number of detail rows to display from 5 to 10..still don't
    see the buttons.
    Any help is greatly appreciated
    Thanks
    Babu

    Hi Shiladitya ,
    What you said is correct.I am displaying just 5 Detail Rows.I entered 5 rows...after
    that I changed the to changed to display only 2 rows.Now I see Previous and Next button after I queried.
    If the user wants to enter more 5 lines for the same Master record...you know how do I that ?
    Is there anyway to get more lines. ?
    Thanks in Advance
    Babu

  • Master-Detail forms no longer work in Access

    Hi
    We have migrated an Access 2000 application into an Oracle 9i database successully. However, the application has a master-detail form that functioned correctly before migration. Since migration the child form does not appear, thus preventing the entering of a new child record.
    Before migration the detail form appeared as a totally blank form. Now the detail form simply doesn't appear. The detail form is based on a select statement which selects data from a stored query. I am suspicious that this is the cause as during tests I have tried manually creating a simple master-detail form and can see this working. I was able to get the test form to fail to produce a blank subform when the subform was based on a select statement however, attempts to change the real form to look at a table rather than a select statement don't solve the problem.
    We have looked on the Oracle forums, but the only error matching our requirements was posted in March 2001 with no real answer (Q: unable to launch subform after migration
    This seems a problem that would not be uncommon so surely we have omitted doing something obvious.
    Any help greatly appreciated.
    Regards
    Tim Broome

    Hello.  I believe I found the answer to the problems yesterday.  After trying everything I could from different forums and getting nowhere, I looked at the Adobe Properties by right clicking on the program.  Once in Properties, there is a compatability tab.  I run Windows 7 Pro 32bit.  Nevertheless, I selected the box that says "Run this program in compatability mode for" and then selected Windows 7.  It seems ridiculous to run the program in compatability mode for the OS I actually have on my system but it has done the trick.  All forms work now and my other PDF issues around the office have been resolved.  The only downside is that some PDF documents are printing slowly, but at least everything works. 
    ps: I first tried running compatabiilty mode for XP but it caused several credentialing issues with my systyem and our network, allowed forms to work, but only if they originated from my system (not the network) and did not allow other PDFs to open. 

  • Custom Master Detail form not working In EBS

    Custom Master Detail form not working In EBS
    Hi all,
    I have two custom tables -- 1) XXX_DIE_Headers
    2) XXX_DIE_LINES
    I developed a Master Detail form based on above tables. XXX_DIE_Headers is the Master Block (Single record) & XXX_DIE_LINES is the detail block ( Multi line block ).
    Yes, I used Appstand,Template.fmb for developing this form. The Master block has three fields out of which Two are required fields and i have given initial value for them.
    As i deployed it in APPS(EBS),everything about it is working fine (insert,delete,master-detail behaviour) except querying.
    When i press F-11 , It pops up a message "Do you want to save changes you have made" Choice - yes,no,cancel.
    I don't want this message to pop up.
    The scenario is :- I open the form.( without entering ) Press F11 . The message Pops up.
    Please give me suggession on how to work it around so as form directly goes to query mode ,without popping the message.
    regards
    ravi

    It seems that you are changing a database value in your form, do you have any changes in WHEN-NEW-FORM-INSTANCE???
    what the form is trying to tell you that you have changed something, do you want to save it?
    I suggest you debug your form and see what's happening step by step.
    Tony

  • Master-Detail form Problem

    Hi,
    I've made a Master-Detail form, but I'm getting a weird behavior... When I query a record from the master block it shows the rocords associated from the deatil block, but if I move to the deatil block and click on any field of the records queried, the block gets cleared and the cursor moves to the first line and enters in insert mode, like if I wanted to insert a new record. This same thing happens when I click on an empty line of the detail block... the rows queried get cleared and it moves the cursor to the first line to insert a new record. I don't want this to happen... When I click an empty line to insert a new record, I want the other records to remain there, not to be cleared from grid... I don't know if that's a property or something, I've checked triggers trying to find something weird, but nothing.
    I want to add that the records are not deleted from the tables, just cleared from the grid.
    Thanks for your help!

    It would help knowing how you have set up your data blocks.  Are they Base Table blocks or do you populate the blocks manually through code?
    If your tables are Base Table blocks, do you have a Releationship created between your Master and Detail blocks?  How many records are displayed in your Detail Block?
    Too many questions...not enough information. 
    Craig...

  • To attach a RTF template(Report for printing ) in the master detail form

    I have an application in which I have 3  master detail forms  of which one of the form is a gate pass form . Now this gate pass form has a report region as the detail.
    All that i need help is to print the Gate Pass with few fields as information in the gate pass form , where an image or picture of the visitor is also a filed .
    Now I have created an RTF Template  which is the Gate pass layout with the pic.
    So ultimately I have the application for the gate pass form and the RTF template ready with me .. Fixing this template with the application with a BUTTON called PRINT is the challenge am facing !
    SELECT XVH.GPDATE
           , TO_CHAR(XVH.VISITORTIMEIN, 'HH:MI') VISITORTIMEIN --, (XVH.VISITORTIMEIN )
           , (TO_CHAR(XVH.VISITORTIMEOUT, 'HH:MI'))VISITORTIMEOUT
           , XVH.VISITOR_NAME --, = XVH.PERSON_ID
           , XVH.COMAPANY_NAME
           , XVH.PURPOSE_OF_VISIT
           , (SELECT A.FULL_NAME
                FROM PER_ALL_PEOPLE_F A
               WHERE A.PERSON_ID = XVH.PERSON_ID
                 AND SYSDATE BETWEEN A.EFFECTIVE_START_DATE AND A.EFFECTIVE_END_DATE) To_meet
           , XVH.VISITOR_PHONE
           ,APPS.GETBASE64 (XVH.VISITOR_PHOTO)
      FROM xxcdot.XXBCT_VGPF_HEADER XVH
    WHERE XVH.GP_HEADER_ID =  :P_HEADER_ID
    This is the query for the template ..
    Please help me with this. I am very new to apex and learning it with help of online tut

    Pars I need another Help
    I am working with a master detail form where in the form region i have a Radio group . Lets say the Radio group is
    o Returnable
    o Non Returnable
    o Other
    so when i select Non returnable I want a particular column called
    Line Status to get Disabled .
    I have done that by a dynamic action - using jquery statement (.Disable) .
    Defining the element attributes as Disable .
    Now the problem is that ,, Line status is getting disabled on the selection of Non returnable radio button. but unless and until i dont press the Add row button it does not work ,, else i will have to switch over between the radio buttons to get this action done !!

  • Master-Detail Form (How to pass an item value in Master to Detail field

    I have a Master-Detail form. When adding a new record in the Detail section, I expect the primary key in the master record will copy down to the detail record. But, it is not doing that. Does anyone know how to pass the master primary key down to the detail record field.
    By the way, query works fine. It knows the master-detail relationship. It is just when creating a new detail record, the key not pass down from the master record.
    thanks - Patty

    hi,you can do it by:in detail form's foreign key field,set it's default value as master primary key ,example master page p1,primary key as p1_master,detail form p2,foreign key p2_foreign, set p2_foreign key 's default value &p1_master.
    Message was edited by:
    lixinzhu

  • Many to many master detail form

    Hi All,
    APEX 3.1.2 on SuSE 10 Oracle 10.2.0.3 64 bit
    I am new to APEX, but used OAS several years ago. Back then I hardcoded all htp.print commands. We are building an intra-team application to track system relationships. For example,
    web interface 3 --> application server 2 --> database 6
    Our tables are similar to the following
    SYSTEMS
    system_id (unique sequence)
    system_type_id (database, app server, apache, etc.)
    SYSTEM_TO_SYSTEM
    publishing_system_id - number
    consuming_system_id - number
    We would like to have a master detail form where we would query database 6 for example, and then see all related systems one level below it (application server 2 in the example above). I have been able to query the related systems and show them in a drop down pick list on the detail form, but I cannot edit them.
    The wizard asked for the primary key of the detail table, which in this case is not a sequence generated value, but a pick from a systems table lookup on system_id/system_name.
    If the master form would automagically lass the system_id to the publishing_system_id on the detail form, and allow me to update that with a picked system_id tied to consuming_system_id, that would be perfect.
    I can write the htp calls I mentioned earlier, but I am sure I am missing something.
    Does anyone have any best practices for this?
    Thanks!
    Steve

    Hi Steve,
    Here is an example which might help you:
    http://apex.oracle.com/pls/otn/f?p=43368:35
    Here, I have used two tables e.g. test1 and test2. Test1 has an id column which is just a sequence column and the name column in this table has a unique key.
    Table test2 has id column as primary key and name1 column is linked with Test1 table on the Form. Name2 column is not required to be linked with Test1 table.
    If this is what you are after, then I can give your more detail for it.
    Hope it helps.
    Zahid

  • Is this a bug? master rowid value lost when saving on a master/detail form

    master/detail forms seem to lose the rowid after saving, if the unique identifier is set to ROWID
    to reproduce the problem:
    1) create a master detail form on DEPT/EMP
    -- choose 'Managed by Database (ROWID)' on the 'Define Primary Key' page.
    -- do not include master row navigation (but i don't think this matters)
    -- choose 'Edit detail as tabular form on same page' on the 'Choose Layout' page
    -- include the master report
    2) on the master/detail page, change the conditional branch that returns to the master report page
    -- the normal condition for this branch is request in SAVE,DELETE,CREATE
    -- change it to request in DELETE,CREATE
    3) run the form and save a change
    -- saves fine, session shows the ROWID value is still set
    4) save a second change
    -- change does not save, form reverts to Create mode
    this problem does not occur when using the primary key columns instead of rowid
    see http://apex.oracle.com/pls/apex/f?p=60813:7 for the ROWID version
    see http://apex.oracle.com/pls/apex/f?p=60813:11 for the PK column version

    Hi Saverio,
    Bug *13563808* has been logged to track the reported issue, and a fix will be made available in a future release. Just to clarify, this issue is only arising when the APEX-generated Master-Detail is modified post-generation, so for users who have not modified their Master-Details using ROWID to manage their DML processes, they should not experience this issue.
    In relation to my workaround, my suggestion works in my test environment, which I verified before posting the initial suggestion. Please note that the 'Reset Page' process is, by default, conditional on the "Delete" button being pressed. If you have made further modifications to your Master-Detail page, then this might explain why you're seeing different behaviour to me. You might using the "Debug" option on the Developer Toolbar useful. Viewing the debug information should help you to decipher what's going on/wrong on your page. If you still can't resolve the issue, then the safest option might be to revert the page back to it's original state, meaning the user navigates back to the Report page upon submitting changes to the Master-Detail Form page.
    Regards,
    Hilary

  • Master/Detail form with modal edit

    I have a master/detail form that I generated using the wizard that I want to change to have a modal Edit button; i.e. the behavior I want is that the form view is initially read-only and you then have to click an Edit button to make the form editable.
    I figured out how to do this for the master row by making the edit button redirect back to the same page with the request set to 'EDIT' and then making all the page items read-only with a condition REQUEST <> 'EDIT'.
    I cannot find a good way to do this for the detail rows, which are actually a report with editable columns. The problem is that the 'Tabular Form Element' section of the 'Column Attributes' page does not have a read-only condition.
    The only work around I can come up with so far is to have a second read-only report region with the same SQL query and then display either the editable or non-editable report region conditionally depending on whether the request is EDIT. But this obviously not ideal (having same SQL in two places, etc.).
    If anyone can think of a better way to do this, I'd be grateful.
    HTML DB Team: Can you log the addition of a read-only condition attribute on editable report columns as an enhancement request?

    Simply add the lookup table to the FROM clause and join its PK with the FK in the master table in your query. That's basic SQL, and you definitely must get a good grasp of SQL to do more than very basic work in APEX.
    For a good example, please see http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/build_app.htm#BCEBJJGB
    While you're at it, read and implement the tasks outlined in the 2 Day + Application Express Developer's Guide - http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10498/toc.htm. After that, read the "Oracle Application Express 3.0-- Building a Functional Application" OBE in http://www.oracle.com/technology/obe/apex/obe30/apexdev30.htm - great stuff.
    Georger

Maybe you are looking for

  • Help needed in partitioning a Table

    Hi, We can partiton a table by the following create table sales (      product_id     number,      trans_amt     number,      sales_dt     date,      state_code     varchar2(2) partition by list (state_code) partition ct values ('CT'), partition ca v

  • Backup is too large - Impossible!

    I've used Time Machine to backup my entire hard drive many times in the past, but when I attempted to backup today (for the first time in a while) I just kept getting the same error message "This backup is too large for the backup volume". I have a s

  • HT1533 Help my iMac doesn't start from the white screen and apple and whirring gear icon.

    Help!  My IMac doesn't boot up ...just a white screen, apple and whirring gear. I tried turning it off and on and then turning it on while holding down the shift key but nothing. 

  • Apreciating the Entity Object;

    Hi to all; From Steve Muench, Apreciating the Entity Object; On the Publish panel, you define events that your entity object will use to notify others of changes in its state. how to work with them? we have some sample code ? Very thanks;

  • Help with iPod installation...

    I have an ipod 30g video. I have an iMac G5, all is well. Recently, I had my iMac's hard drive and logic board replaced. Just got it back today. I have heard from other people, when they got a new computer, the second the hooked the ipod up to it, it