Master/detail form - Detail columns lack help information
I have a master/detail form. All the fields in the master block have help information attached to assist the user when entering data. The detail block, which is more of a multi-row based block, has column headings along the top. However, no where can I insert "help" text for these particular columns. Although self explanatory, it still would be nice to be able to incorporate "help" text for these columns. Am I missing something? Can this be done? I've thought about a button on top of the region which could call an html page with help for these columns, it just seems to be a "rougher" solution than whats available to the individual fields in the master block.
Hi,
Nope, you're not missing anything - there is no Help functionality. This is probably because the Help on page items is available for "Labels", which do not exist for tabular forms, which are based on a report structure.
You would, if you wanted, update the heading to include a "tooltip":
Instead of, for example:
HiredateYou could enter:
<span title="Enter the employee's hire date">Hiredate</span>It should also be possible to mimic the popups you get for page items if that is what you need
Andy
Similar Messages
-
Master Detail Inline Deatail Help Pleaseeeeeeeeeeeeeeeeeeeeee
Hi All,
Could Anyone help me how to design an inline table in adf faces.Nested tables in overflow inline are only displayed for an existing parent table row. You need to create a row in the parent table first, before you will see the detail table.
Steven Davelaar,
JHeadstart Team. -
HELP FORM MASTER/DETAIL!!!
Hi,
i created a form master/detail, when i click "add row" in detail form after entering all required values oracle give me this error:
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 = "A884FA378C851786DDFE3A33709CB23C", item checksum = "1697D9A1AD2F3544A697435A5FC09104"., update "DS"."TARIFF_PAX" set "ID_TARIFF" = :b1, "PAX" = :b2, "RATE_PAX" = :b3, "LEVEL_PAX" = :b4
Could someone help me?
ThanksAll it means is that you perhaps skipped selecting the columns for the detail table when creating the form.
Try creating again and this time select the columns appropriately for Master as well as Detail tables.
Regards
PS: Always mention the basic information like Apex version, DB version, etc
Edited by: Prabodh on Aug 18, 2010 2:12 PM -
when i create the master detail form then in the detail report only foreign key column display on detail report.
please help meAll it means is that you perhaps skipped selecting the columns for the detail table when creating the form.
Try creating again and this time select the columns appropriately for Master as well as Detail tables.
Regards
PS: Always mention the basic information like Apex version, DB version, etc
Edited by: Prabodh on Aug 18, 2010 2:12 PM -
Master Detail Form with Report - Referring a column in another table
I have master detail form with a report option. The master table has a column that also references a look up table.
When the report is displayed the lookup column id is displayed. Rather I want to get the look-up value from a lookup table
and display in the report.
When I see the report region Query definition , it just has the columns to add/remove only from the master table.
Could you pls help me with this regard.
Eg :
Dept Table
dept_id
dept_name
location_id
Employee Table
employee_id
employee_name
dept_id
location
location_id_id
location_name
Master is Dept, Detail is dept and lookup table is location.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 -
HELP: Error while insert in master-detail form!!!
Hello
I have created a master-detail form and when I tried to insert a new record I got an error that the field on the detail table that references the primary key on the master table can not be null. I don't understand this error because I thought that when you create a master-detail form and you insert a new record the field that make the references in the detail table to the primary key on the master table will be automatically filled, am I wrong??. Can anybody tell me what is going on??. The primary key of my master table is filled with a trigger before insert, is that the problem??.
Please Help me is really urgent
Ana MariaI am still new to this, but maybe this will help.
1. Double check that your foreign key link definition in the detail table is referencing the correct column in the master table. If this is not present or referencing the column, this may be causing the problem. Self evident, but sometimes it is the simple things that get us.
2. I have not used a trigger yet, but could there be validation being done in the form before the trigger is firing. Therefore, there would not be a value in the detail part of the form.
Hope this was of some help. -
Help needed in Master Detail Form - 2 level of details
Hi,
I have a form with 2 levels of Master Detail and a Find window
The Datablocks are
- Batch
- Headers
- Lines
- Manual datablock for Find Wndow
I have created relation between Bacthes and Headers with Batch Id
I have created relation between Headers and Lines using HeaderId.
The issue is that,
If I search with '%' in Batch block, by default it will show results in 'Headers' and 'Lines' block.but if i navigate to the next record in batch block , only Headers block shows results but Lines block does not show result.
If I search from Find window also, only Batch and Headers block shows results but Lines block will be empty.
In the 'Batch' block if I search with specific data , the screen shows results in 'Headers' and 'Lines' block.
Can you please help me solve it.
I have written a PRE-QUERY on Batches block to set where clause from Find window.
I have written a PRE-QUERY in Headers block to set where clause from Find window
Thanks,
Kamath.
Thanks,
GowtamHi,
When you execute normal not by searching through ENTER_QUERY mode. Then data is coming in all blocks
- Yes. Once I go to the Form if I search using '%' in batch block or search for a particlaur record i Batch block, the results shows up in Headers and Lines block.
Ex: say there are 2 records in Batch block(A and B) and I search by %, by default i get 1 batth record (A) and corresponsding headers and lines
now when i use down arrow key in the batch block, second record(B) will be showed in batch block. relevant Headers block records will be shown but Lines block does not get queried.
Similarly if coem to the Form from search window then also, Batch and Header blcoks wil be shown but not Lines block
PREQUERY at Batch Level_*
V_WHERE := 'WHERE 1 = 1';
IF :XXYH_ICAN_CALC_WB_FIND.PERIOD IS NOT NULL THEN
V_WHERE := V_WHERE || ' AND PERIOD = '''||:XXYH_ICAN_CALC_WB_FIND.PERIOD||'''';
END IF;
IF :XXYH_ICAN_CALC_WB_FIND.BATCH_ID IS NOT NULL THEN
V_WHERE := V_WHERE || ' AND BATCH_ID = '''||:XXYH_ICAN_CALC_WB_FIND.BATCH_ID||'''';
END IF;
IF V_WHERE IS NOT NULL THEN
set_block_property('XXYH_ICAN_WB_BATCHES',DEFAULT_WHERE,V_WHERE );
END IF;
PRE-QUERY at Header Level_
IF :XXYH_ICAN_CALC_WB_FIND.BATCH_ID IS NOT NULL THEN
V_WHERE := V_WHERE || ' AND BATCH_ID = '''||:XXYH_ICAN_CALC_WB_FIND.BATCH_ID||'''';
END IF;
IF V_WHERE IS NOT NULL THEN
set_block_property('XXYH_ICAN_WB_TRX_HEADERS',DEFAULT_WHERE,V_WHERE );
END IF;
Thanks,
kamath. -
Master-Detail-Form; Hide/Show columns in detail form depending on column
Hi,
i have a master detail form. In the detail form i have the columns:
ID, MASTER_ID_FK, PC_SOURCE, A_C1, A_C2, A_C3, B_C1, B_C2, B_C3
The Column PC_SOURCE should be a LOV with values
NULL
A
B
So if i choose or enter a master record the detail form appears and i can enter one or more detail records.
PC_SOURCE is the first column.
If i choose A, the columns B_C1, B_C2, B_C3 should disappear as there should no entry possible.
If i chhose B, the columsn A_C1, A_C2, A_C3 should disappear as there should no entry possible.
Is that possible?
I tried a little on my own but without success. I tried to put into the first column (PC SOURCE lov) in Element Attributes a javascript call like onChange="do_Refresh('#PC_SOURCE#');"
The javascript funktion do_Refresh tries to catch the column value and set a hidden item P1_SOURCE like document.getElementById('P1_SOURCE').value = v_source;
But this does not work, as there is not the value of the column fetched.
And probably can´t work because of the more than one detail rows.
Thanks & regards,
MatthiasHi,
The html for your detail form will be a table of input elements with names f01,f02,etc. The columns for the key fields are normally hidden so your PC_SOURCE column will probably use the name f03. The name for column A_C1 will be f04 etc.
Once you have the input names for your columns you can create a dynamic action (DA) to hide the elements you want.
You want the DA to fire when any PC_SOURCE element is changed so you want the when to be:
Event: Change
Selection Type: jQuery Selector
jQuery Selector: input[name="f03"]
Condition: no condition
The action is to hide an element in the same row if the changed element is a value. So the action should be:
Action: Execute JavaScript Code
Fire when Event is: true
Code: if(this.triggeringElement.value=="A"){$x_Hide('f04_'+this.triggeringElement.id.split('_')[1])}
You then need lots of true actions for each element you want to hide.
Rod West -
Updating columns in master/detail form
Changes were made to the database that is in the master part of a master/detail form. I have tried to add the new fields using "Create Item" on the page definition.
I have gone through the wizard and set the source items to:
Source Used: Always
Source Type: Database Column
Session State: per session
Source Value: AppsDependentOn (the name of the newly added field)
It seems that the form will not display the new column - it does display the label and a blank textfield. I have no problem adding columns to the detail part of the form."197331",
For Source Value, try uppercase instead: APPSDEPENDENTON
Sergio -
Hi cant see the primary key column in master detail form
I have a master detail form .In the first master form i am unable to see the primary key
Now the form is built completley and i also will like to see the primary key column visible in master report
If i had set the primary key as rowid then i could have seen the primary key ..
Now i can see the pencil icon (The eidt row pencil icon) instead of the actual primary key column . .which is a number data..
I will like that too be visible ..Can any one guide what should i do for this..
ThanksHi Mat,,
I am using apex 4.2 db version 11g and in the first master page i had set the value of combo which is primary key column as text
But still iam not able to see the number ..Note if i recreate the form ..with rowid as primary key i am able to see the column since the pencil icon(edit icon) is on row id..
Currently All i see is the edit icon ..I need both the edit icon and also the number ..
Thanks -
Master/Detail/Detail form... Help
I know there are some entries in the forum about this but I tried some of those with no results.. I also found some demos in apex.oracle.com but since I cannot edit the code I cannot find the answer myself...
The steps I am using are these:
1. Created a master/detail form using he wizard... (Master/Detail1)
2. Create a new region in the form for detail/detail (lets call it Detail2) of type Updateable Report. This report will select form a table with 2 columns ( LinktoDetail1Id, myValue)
3. Create item P_mycolumnvalue in region Detail2 that is populated when a row in Detail1 region is selected
4. Edit the propertied for Detail2 -> LinktoDetailId column, in the item properties I Enter Default type: Item (Application or page item name) in Default value I entered P_mycolumnvalue item ..
When running it I get this error:
ORA-01790: expression must have same datatype as corresponding expression
Can anyone explain in detail how to link Detail1 with Detail 2 for when inserting data?
thanksI think the problem is in the way I defined the Item to store the ID from Detail1.. so Let me rephrase my question...
I need a master/detail1/detail2 form to insert data...
I am trying to use
How can I (link) assign the ID from Region Detail1 into a column in region Detail2. I assume by using default field .. but I get the error I mentioned above when doing it -
Having problem with creating Master Detail form , please help
I have to work on a project to create a survey system using APEX, as am new on using this tool , am still facing some problems to finish my job..
i created Master/Detail form using wizard, the master form is working fine but am when i try to add data using the detail form its giving me error :
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 = "A884FA378C851786DDFE3A33709CB23C", item checksum = "5F8B1EE5CD3D46437455F43B37B9A6A0"., update "ABA"."ABA_SURVEY_SUBCATEGORY_MAST" set "ASCM_CATEGORY_ID" = :b1, "ASM_SURVEY_CODE" = :b2, "ASSM_SUBCATEGORY_ID" = :b3, "ASSM_SUBCATEGORY_DESC" = :b4
i tried to go through the posts from others but i still dunno what is this error !!!& how to solve it..
my master data table have 2 primary keys.. the details data table have 3 primary key all of them using trigger to fire a sequence to get the next_val!!
am desperate & need help urgently for this ASAP.hello
here is the solution,i hope this might help u.
go to the code of your button and change write the following
go_block('name of your master block');
execute_query(no_validate);
and in the object navigator make the first item in the master
block that it should be displayed in the canvas and it must be a
navigable item too.not a display item.
thank you
Zeeshan Ahmad -
Limit on number of columns details of a master detail form/report
Hi,
I understand that there is a limit to the number of columns you can have in a master detail form/report. I am on Apex 4.01 and have a detail section that shows 24 months at a time as columns with integer hours assigned each month. My master detail was working fine with as many as 24 months/columns in this detail section, but I tried to re-use months by 'recycling' months, clearing them out of values and adding the months to the end of each row but now I am getting errors even though I had more columns showing before my 'recycliing' of the columns. The error is:
"ORA-06502: PL/SQL: numeric or value error: character string buffer too small "
What I don't understand is -- why am I getting this error now when I actually had more columns in the detail section months ago, and all I am doing is 'recycling' prior columns back into the detail report, not actually adding columns.
Thanks for any insights anyone can give.
PatDBA tells me that we are at 9.0.2.2.14, (higher version than the one you suggested) but I still get the same error.
Thanks,
Karuna -
Master Detail Form - Update Statement for Column in the Detail Section
Hello,
I've posted a demo application to apex.oracle.com
Application# 49298
Application Name: Street_Inventory
Basically, on page 3 I have a Master Detail Form. In the Detail section, I want the value of On_hand to save to table ITEMS. Here's my code below.
SOURCE
select
"CONSUME_DETAIL"."CONSUME_DETAIL_ID",
"CONSUME_DETAIL"."CONSUME_HEADER_ID",
"CONSUME_DETAIL"."ITEM_ID",
"CONSUME_DETAIL"."CONSUMED_QUANTITY",
("ITEMS"."ON_HAND" - "CONSUME_DETAIL"."CONSUMED_QUANTITY") as "ON_HAND"
from "CONSUME_DETAIL",
"ITEMS"
where "CONSUME_HEADER_ID" = :P3_CONSUME_HEADER_ID
and "CONSUME_DETAIL"."ITEM_ID"="ITEMS"."ITEM_ID"
UPDATE INVENTORY PROCESS
UPDATE ITEMS
SET ON_HAND = :P3_ON_HAND - :P3_CONSUMED_QUANTITY
WHERE ITEM_ID = (select ITEM_ID
from CONSUME_DETAIL
where CONSUME_DETAIL_ID = :P3_CONSUME_DETAIL_ID);
My code isn't working. What am I doing wrong?WReed,
The first thing I see "off the bat" is that you don't have items named P3_ON_HAND and P3_CONSUMED_QUANTITY which are referenced in your code. Although it's possible to do what you want with just SQL, I updated your code with a little PL/SQL to make it easier to understand...
As you'll see the problem now is that the design/db model is not quite right as your getting a too many rows error.
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen -
ORACLE FORMS MASTER DETAIL HELP
GOT 2 DATA BLOCKS. 1 REPRESENTING ALL EMPLOYEES, THE OTHER REPRESENTING ALL SALARIES. uSING A MASTER - DETAIL RELATIONSHIP WHEN TRYING TO SHOW ALL SALARIES BESIDE ALL EMPLOYEES IN A MULTI-ROW TABULAR VIEW I CAN'T SEEM TO LIST THE SALARY FOR EACH EMPLOYEE ONLY THE FIRST...EG.
EMPLOYEE SALARY
|||||||||||||||||||||||| ||||||||||||||||||||
SMITH _____10000
JONES
REGERG
SDGS
SDFGSR
HOWEVER, AS I MOVE THROUGH THE EMPLOYEES THE SALARY CHANGES BUT STAYS AS THE FIRST ENTRY.... THANKS FOR ANY HELP OFFERED
Message was edited by:
user445629
Message was edited by:
user445629
Message was edited by:
user445629You have master - detail relationship here. So unless you click on second employee it won't show you salary for second employee.
You can create a control block and capture values in this block through cursor. You can also create a view and get values from view. In both cases you need only one block not two.
Are you showing this only for display or user can also modify these values?
Maybe you are looking for
-
Resetting a clearing document from a previous financial year - Vendor Payment
Finance team needs to reset a cleared item from a previous financial year. The cheque was never presented. They are unable to create a new invoice to pay the vendor without this cheque going through and being processed. However, when using transacti
-
ITunes cannot sync iPhotos to the Apple TV
An hour ago, my iMac had no problem syncing my photos from iPhoto to my TV. Now I just got this error message: "iTunes cannot sync iPhotos to the Apple TV 'Apple TV' because your iPhoto Library could not be found. Open iPhoto to create or update your
-
How do I reset Cursor not Hand tool on Adobe X on mac with mavericks?
Adobe just started defaulting to hand tool in Adobe X on mac with mavericks. How do I get my cursor back??
-
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 14 at adobe.abc.GlobalOptimizer$InputAbc.readCode(GlobalOptimizer.java:1510) at adobe.abc.GlobalOptimizer$InputAbc.readBody(GlobalOptimizer.java:682) a
-
No Mail notification whatsoever.
Since the introduction of Leopard, my Mail experience has suffered. Like many other users, I get no Mail notifications. No bouncing dock icon, no sound. I'm using multiple mail accounts (Gmail/IMAP and local ISP/POP3). I've read of several people fin