Tab forms
i have 2 canvases and one of them is a tab form which has 1 table in each. the problem i have is i can save new entries of my main canvas and on the 1st tab but my 2nd and 3rd tab brings the message frm 40508 and does not save. ive tried putting a save button on each tab page but that does not work either. How should i save the data in the other two tabs?
Forms
Similar Messages
-
Cascading LOV in a Tab Form Help
version 4.0.2.00.07
Hello,
I've aquired an application that was written by someone else. I have a Tab Form that needs a Cascading LOV. There is code already in place, but I have questions about it that I'm hoping someone can help.
There's a LOV called Product Group that has an onChange in the Element Attributes:
onchange="f_load_platform(this.value,#ROWNUM#);"In the HTML Header is a javascript function:
function f_load_platform(p_pg_id, p_rownum){
if (p_pg_id) {
v_new_list = html_GetElement('f04_'+ f_zero_pad(p_rownum,4));
v_curr_value = v_new_list.value;
var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=Get_Platform_From_Product_Group',0);
get.add('P21_PRODUCT_GROUP_ID_PARAM',p_pg_id);
gReturn = get.get();
if (gReturn) {
// Separate each combination set of values
var NameArray = gReturn.split(",");
// Reset dropdown list by making its length to a needed value
v_new_list.length = NameArray.length-1;
for(i=0; i < NameArray.length; i++){
NameArrayList = NameArray.split("~");
if(NameArrayList[0] != "") {
v_new_list[i].value = NameArrayList[0];
v_new_list[i].text = NameArrayList[1];
if(NameArrayList[0] == v_curr_value) {
v_new_list.selectedIndex = i;
else {
v_new_list.length = 0;
function f_zero_pad(num,count)
var numZeropad = num + '';
while(numZeropad.length < count) {
numZeropad = "0" + numZeropad;
return numZeropad;
The Add Row button is set to:
Action: Redirect to URL
Execute Validations: Yes
URL Target: javascript:addRow();
When I debug the javascript the variable v_new_list shows as false. I can also see that p_rownum variable in the javascript function contains 0. I don't know if that's correct.
Can someone help me with why this function does not return the values into the select list for the f04 item?
What other information can I provide?
Thanks,
JoeScott,
Thank you for replying.
While debugging the javascript, I can see that gReturn does contain a string of the Platforms for that Product Group ID.
What I don't know if it's correct is the call to: v_new_list = html_GetElement('f04_'+ f_zero_pad(p_rownum,4));
When I view source I see that f04_0000 is the Platform select list item.
<td headers="PLATFORM_ID" class="t13data"><label for="f04_0000" class="hideMe508">PLATFORM_ID</label><select name="f04" id="f04_0000">...I don't know why the previous developer wrote a function to append the four zero's to the item, but I get the same result when I take out the padding call and replace it with the four zero's so the statement looks like this: v_new_list = html_GetElement('f04_0000');
I still can see that v_new_list is undefined in the debugger. Any other ideas?
Thanks,
Joe -
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,
JoeThe 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 -
How to update hidden item after submit of multi tab form
Hi everyone,
I have a multi tab form which is being used to insert records into a table. One of the columns I have included in the form source is 'hidden' and i want this item to be populated with the current date and time for each row, when I press the submit button. I have tried to achieve this by creating a PL/SQL process on the Page with the following details:
Process point: 'On Submit - After Computations and Validations'.
Source: :P5_DATE_ENTERED := :SYSDATE_YYYYMMDD;
However, when I test the Page I get the following error on pressing Submit:
'Error ERR-1002 unable to find ID for item P5_DATE_ENTERED...'
So, I'd be very grateful if anyone can advise me as to how to achieve this basic functionality,
cheers,
Kevin.Hi,
Thanks for the reply, I had considered that and I think that probably is the best approach. However, I'd like to know why my method of trying to do it in APEX doesn't work as it seems such a simple thing to want to do,
regards,
Kevin. -
Configure Tab - Forms, Rules
Hello,
We noticed a difference between 2 IDM installations with regards to the Configure tab. When logging in as Configurator, the first installation does not show sub tabs Forms and Rules on the Configure tab. When logging in as Configurator, the second installation does show sub tabs Forms and Rules on the Configure tab.
Our clients would like to remove these 2 sub tabs. I have read how to remove sub tabs via the jsp on a couple threads.
Our question is, why do these 2 sub tabs show on the 2nd installation and not on the 1st?
Thanks for any advicethanks for the reply.
yes, these 2 sub tabs Forms and Rules are in addition to the Forms and Process Mappings. I suspected that this was related to a capability, however after assigning all available capabilities to Configurator in our local install...the 2 sub tabs which exist at the client site are not available.
I am not at the office right now, but from memory these sub tabs map to formList.jsp and ruleList.jsp which are in the ..idm/configure directory. -
Tab Canvas : 1 data block 2 different query for each tab) Forms 10g
Hello allllll,
I have 2 blocks Master datail ,the master is non-db the tab canvas is for one data block:
Problem 1: How 2 display same data block in each tab.?
Problem 2: How when pressing excute Query button each tab display the data
----------------------specified by the Master block..?
Regards,
Abdetu..-- When-New-Form-instance
IF :SYSTEM.Record_Status ='query' THEN
go_block('PLN_STOCK_TAKING_HEADER');
execute_query;
go_block('PLN_STOCK_TAKING_DETAIL');
execute_query;
go_block('PLN_STOCK_TAKING_DETAIL2');
execute_query;
END IF;
same behaviour,excute on tab2 not tab1,well i think it has something to do with the relation..!
Regards,
Abdetu.. -
Resource Assignments in User Tabbed Form
I have 4 resource total, 3 are dependent on the first resource. In the Tabbed User Form, under Assignments, if the first resource is unassigned I do not want to show the 3 dependent resources. But, once the first resource is assigned I want to show the 3 resources in the allowedValues field (with the 1st in the selectedValues field).
I was able to get this work with only 2 resources (1st and 1 dependent) but cannot get it to with the remaining 2 resources.
Does anyone know how to get this done?I have 4 resource total, 3 are dependent on the first resource. In the Tabbed User Form, under Assignments, if the first resource is unassigned I do not want to show the 3 dependent resources. But, once the first resource is assigned I want to show the 3 resources in the allowedValues field (with the 1st in the selectedValues field).
I was able to get this work with only 2 resources (1st and 1 dependent) but cannot get it to with the remaining 2 resources.
Does anyone know how to get this done? -
Is there a way to make a tabbed form? Like an Excel workbook, have named tabs.
In Excel you can have multiple tabs with multiple pages connected to it. Is it possible to create a similar experience in Adobe forms? like how there are tabs in Livecycle to switch between Design, Master, and Preview. Can you make tabs in the form itself?
Thanks!Here's one attempt at trying to implement tabs,
https://workspaces.acrobat.com/?d=UsJsmWCaYMMtXiGTmqmzew
Regards
Bruce -
Target version in LC Defult tab Form Properties
Hi ,
Curently i am using Live cycle Designer Version - 8.2 . I want to support Adobe Reader 4 or later version .but in the default tab under form properties target version drop down is from adobe reader 6.0. or later upto adobe reader 9.0. or later .
What should i do to support version 4.0 or later PDF .
Thanks in Advance .
Regards,
DhiyaneHi,
You can get the XFA specifications here: http://partners.adobe.com/public/developer/xml/index_arch.html
You will see that XFA Specification 2.0 was draft for Acrobat 6 and only became fully supported as XFA Specification 2.2 in Acrobat 7.
It relates to XML forms, which as far as I can see, did not exist in that format before XFA Specification 2.0.
Hope that helps,
Niall -
How to set the size of an Excel-file,Java created in tabbed forma
Hi all,
I'm creating an Excel-file by writing data to an outputStream in tabbed format.
My problem is : How can I set the width of the columns of that Excel-file, not the default-size?
If anyone can help, that would be very nice.
Thanks a lot,
Regards,
TimYou can write a generic xls file containing a Macro to open and set the column widths of text or csv files. Your java program can then call this generic file to open your text files.
-
Hi,
Is there anyway to create crosstab forms. for example, all the months on the top, employees on the left column and sales figures as the data entry cell(intersection point of month and employee).
Thanks....Sorry, I missed that this is supposed to be a form. How about creating a table that stores employee names and has twelve sales figure columns, one for each month. And then you build a tabular form on that table using the create tabular form wizard. A tabular form lets you add new data, edit existing data and delete data in a spreadsheet-like way. Of course when saving the data, you may want to do some post processing to store it in some actual sales tables, otherwise this approach would work for one year only.
Marc -
Tab Form LOV uses one of the other columns in that report.
Hi All.
i created a Tabular Form using the Wizard.
i want to change one of the columns in the report to be an LOV.
the LOV has a WHERE that uses one of the other columns in that report.
i tried to do something like that:
SELECT <display_value>, <return_value>
FROM <some_table>
WHERE <my_column> = #ANOTHER_COLUMN_FROM_REPORT#
it doesnt work...
anyone know how to do it?
thanks in advance
AlbertoSee
http://htmldb.oracle.com/pls/otn/f?p=18326:54:::::P54_ID:1282
Also see the discussion at
http://forums.oracle.com/forums/thread.jspa?messageID=1222153 -
Update of hierachical table in tab form page
I have a hierarchical table called menus. As you can see there ara two branches (63 and 64) than depend on branch 7:
select id, pid, access from menus order by 2,1;
ID PID Access
1 0 3
2 0 3
7 2 1
63 7 1
64 7 1
I would like to update the access of branches 63 and 64 if I change the access of their parent branch. Lets say I change branch 7 access to 0, then branches 63 and 64 should update its access level to 0.
I tried this in an after update trigger:
create or replace
TRIGGER "SISTEMAS"."MENU_BU"
after update of acceso on "MENUS"
for each row
begin
if :new."ACCESO" != :old."ACCESO" then
update MENUS set ACCESO = :new.ACCESO
where id in (select id from (select id, pid from menus
connect by prior id=pid
start with pid=:old.id));
end if;
end;
Now I am implementing a package with a procedure that fetches the children rows and updates the attribute in those rows. The problem is, this is in Tabular form, and MRU process,
Where and how should I place the call to the procedure?Please put your code between two tags
Would you create a sample app on apex.oracle.com and provide workspace/username/password to be able to help you?
Mahmoud -
Multiple interactive reports/tab. forms: future or everlasting expectation?
At the end of September, the statement of direction for APEX is updated for 4.2.
I notice that there's not a word anymore about the possibility to use multiple interactive reports and tabular forms on one page (declarative, without the tricks described in so many blogs and forums).
Does this mean that it will never be possible or just not yet in 4.2?
Thanks in advance for any enlightening comment about this :-)
Regards,
BartBart, Joe,
Thanks for bringing this enhancement request up again. Allowing for multiple tabular forms or multiple interactive reports on one page is still a feature that we’re considering for a future release of Oracle Application Express. But we honestly don’t know yet whether this is going to make it into APEX 4.2 or a later release. And yes, there’s certainly a chance that this may proof to be too disruptive to the current implementation, and thus require a different approach. I realize this isn’t the answer you were looking for, but all we can say that we’re still actively looking into making this possible as a standard feature.
Regards,
Marc -
How can different people work on different tabs of one form
Dear OTN Users,
We are developing Client-Server application using D2K tools.
We are using the new feature TAB of Forms 5.0 in our current
development.
We are currently have 10 or 12 tabs per form in our application
and we need different people to work on it during development.
How to over come the error of one's work overwriting other's work.
All of them will be working on different tabs.
Thanks in advance for you help
nullIt's a really bad idea to have more than one person working on a
single Form at one time. However, if you must...
Try getting everything in the Form, except for your tabs,
working first. Then take 12 copies of your Form (one for each
tab) and give a copy to each of the 12 developers. Make sure
that they name any objects that they create uniquely: this
includes any blocks, procedures, tab canvases etc - nominate one
person as 'design master' and make sure that anyone clears any
new object names with the design master before creating them.
When they have finished developing and testing their code
individual for each of the single tab Forms, get someone to
create a thirteenth Form, and then merge in all the objects
created for the first tab. You can do this relatively easily by
opening two Forms at the same time, and dragging the items from
one Form to another.
If you're feeling really clever, and you will have lot of
maintenance to do on the Form, then you could reference the
objects rather than copy them: in this case you would need to
keep your 13 forms in perpetuity, but you could have parallel
maintenance going on. However you decide to do it, be sure that
you have a comprehensive test plan!
You will find that you may save some time in this way, but it
will take more man-hours (though less elapsed time) to develop
the Form in this way, than by having a single person develop the
whole Form.
Simon Hedges
Gloucester
UK
null
Maybe you are looking for
-
Cannot add TV commercial .mpg file to encoder - error while decompressing source
Hello! I'm attempting to add a .mpg file to the CS5 Media Encoder but receive the error "Error while decompressing the source file". This file was recorded and is being used as a TV commercial. Would this mean that the file has a different encoding/c
-
This Year / Last Year on Rolling 12 months
I have a requirement to create a LY vs. TY comparison report with rolling 12 months - which means, TY measure will be the fact from current date to 12 months ago and the LY measure will be from 12 months ago to 24 months ago. I was hoping to use the
-
I am wondering how to get rid of the little applescript menu bar item in itunes. Thanks for the help!
-
Read a basedata from access 2003
hi guys i need a little help for reading a database from access 2003 in labview 2014
-
Reterive the KM Folder by using API
Hi All, How to reterive the KM Folder (root\documents\Images) using API? Regards Thillai