Mass, editing a field displaying the value 'No' to 'yes '.
I can type the following in the "SQL" workshop and update the field 'No' to 'yes '.Update
BS_COURSES_RUN
The BS_COURSES_RUN value. ORACLE_UPDATED = "Yes".
Where BS_COURSES_RUN. ORACLE_UPDATED = 'no '.
How can I update all fields showing 'No' to 'Yes' in a tabular layout with a button somewhere on the same page as the form?
It would be great if the option to delete all the records that could be made to update the records instead. I tried to create a process page and selecting the 'Type of Condition' > "SQL Expression" and then placing the SQL above in '1 ', but this Expression does not work.
Someone at - it ideas?
Kind regards
Steve Welch
Hello
Assuming you just want to replace all the files on the table by Yes where they are has not, you can:
1. create a button on the page called, for example, "P1_YES_BUTTON".
2. create a process page PLSQL conditional on the button that is clicked ("when button pressed" = P1_YES_BUTTON). Code of the process would be:
begin
Update
BS_COURSES_RUN
Set BS_COURSES_RUN.ORACLE_UPDATED = 'Yes'
Where BS_COURSES_RUN.ORACLE_UPDATED = 'No';
end;
3 - Make sure you have a branch of page that refers to the same page and is also conditional on the button that is clicked
Andy
Tags: Database
Similar Questions
-
Need help displaying the value of field in another!
I have a problem, I'm sure is simple but I can't understand it.
I would like to create a field that displays the value of a field point selecteed in drop down. For example, I created a drop down menu which has 3 times that I have assigned values to each:
Items in drop-down list
point: Unlimited time export assigned value: 4 000,00
point: 8-hours coverage export value assigned: 3,000.00
point: 5 hours Covrage export value assigned: 2,000.00
This drop-down list is named "CoverageTime".
I want to create a text called 'Price' field that will display the value of the selected 'CoverageTime' element drop-down list.
For example, if I chose "Unlimited" (which I have highlighted as 4,000.00) in the drop-down list, the 'Price' of text field should display the value of 'CoverageTime' of 4 000,00.
As you can see in my screenshot, I have selected ' Unlimted Time'. The value that I put to this element from the drop-down list is 4,000.00. But the price text field does not the value of the element "Unlimited time", selected in the drop-down list.
How to make this happen? (Sorry for the picture on the side)
I'm not sure what you mean about #1 (there is nowhere where to put the code in the tab Options), but it's okay because the second is on the right track. But to set the value of the field, assign anything you want event.value. So the correct code for the custom script to calculate the price of the text field:
The value of this field for the price of the value selected from the drop-down list
Event.Value = getField("CoverageTime").value;
-
How to display the values of the Parent form in the form of child
Hello
I have the order Page and Page element
In the order Page If I select any item and click submit, it should open the article Page and results should display in advance table region. In my article page I have region of header (default double) with 3 fields (dummy) as
Agenda
Description
org
Now my question is, I need to display the value of the item in the item Page header area in the column of the item that I was selecting in the order Page.
I have a prescription 100 point A, B, C, I select B and click on submit it should open on the Articles page and article Page, I have a column called Item and value B sholud be fulfilled.
Thank you
MaheshOAMessageTextInputBean oa = (OAMessageTextInputBean) webBean.findChildRecursive ("ItemNo");
oa.setAttributeValue (SItemNo);There is no such method as setAttributeValue for UI beans, this method is for VO, that is to say if you take a VO and VO a method object to set its attribute.
Bean of the user interface, you will need to use method below,
OAMessageTextInputBean oa = (OAMessageTextInputBean)webBean.findChildRecursive("ItemNo"); oa.setValue(pageContext,SItemNo);
Thank you
AJ -
Display the value in the selection list
Hi all
Any body know how to get the text to display selection list in another text field? Suite of java script displays the value no text, I need another way around. I don't want to change the selection list that the user needs to see the text value.
in the HTML section.
< script language = "JavaScript" type = "text/javascript" >
int f_getText (pThis, pThat) {}
var enter_val = pThis;
var return_val = pThat;
{
gReturn = document.getElementById ("enter_val") .value;
{html_GetElement (return_val) .value = gReturn.toUpperCase ()}
}
}
< /script >
>
in the HTML form element attributes.
onBlur = "javascript:f_getText('P40_LOC_ID','P40_LOCATION')";
"" Thank you
Pascal MChange your JS function
function f_getText (pThis, pThat){ var sel=$x(pThis); $x(pThat).value= sel.options[sel.selectedIndex].text }
CITY
Published by: city has 8 November 2008 17:24
-
Display the values in a list in a certain way
Hello
I'm looking for a way to display the values in a list by the first value by a slash and the rest with an indentation.
In other words in this way:
/value
Value1
value2
value3
etc...
Please see the attachment for a better reference where data are received and then filled to the window list.
Thanks for your comments
Thanks guys,.
I endend up doing this:
If (i == 0)
{
sprintf (current_log_view, "/ %s", cnfg_display_db [i] "");
}
on the other
{
sprintf (current_log_view, "%s", cnfg_display_db [i]);
}
SetCtrlVal (log_panel, LOG_LOG_TB, cnfg_display_db [i]);
InsertListItem (dir_list_panel, DIR_LIST_RETR_LIST, current_log_view, i, 0);and it works very well!
Thanks again
-
How to display the value of the variable for bottom of pl/sql
How to display the value of the variable for bottom of pl/sql
declare
V_1 number: = 10;
V_2 number: = 20;
V_3 number: = 30;
v_4 number: = 40;
v_5 number: = 50;
test varchar2 (100);
Start
I'm in 1.5
loop
test: = "v_" | I have;
dbms_output.put_line(i||) e > ' | test);
end loop;
end;
/
How to get below output:
1 > v_1
2 > v_2
3 > v_3
4 > v_4
5 > v_5
But I want to output of
1 > 10
2 > 20
3 > 30
4 > 40
5 > 50
Hello
You cannot reference variables as you did and get the value of the variable. Use pretty collection.
set serveroutput on size 2000 declare type number_table is table of number; numbers number_table := number_table(10, 20, 30, 40, 50); begin for i in numbers.first .. numbers.last loop dbms_output.put_line(i || '->' || numbers(i)); end loop; end; / anonymous block completed 1->10 2->20 3->30 4->40 5->50
See the Collections of PL/SQL and Records http://docs.oracle.com/cd/E11882_01/appdev.112/e25519/composites.htm#LNPLS005
-
Change the value of a field when the value of another field changes.
I have a level of order form with a number of areas where the quantity (number) is typed in they are labeled qty1, 2 and so on.
Some of the items on the order form attract additional fixed a load which is shown in a separate field call it addcharge.
If qty1 has a number entered it attracts an additional cost and the addcharge field changes the value of zero to say 1
If 2 has a number entered without extra charge applies
If 3 is a number entered without supplement applies
If qty4 has a number it attracts an additional cost and the addcharge field changes the value of zero to say 1 or if the previous qty1 has already changed the addcharge to 1 field, remains at 1.
If qty5 has a number entered it attracts an additional cost and the addcharge field changes the value of zero to say 1 or if the previous qty1 and qty4 has already changed the addcharge to 1 field, it remains 1
It seems to me that some "if else" enabling javascript is necessary in the sense of "If qty1 field is greater at 0 addcharge field is 1"and I guess the script must be placed in each field which attracts addcharge.»»»
Can anyone help with the script please.
Thanks Eric
Please sign the right answer. Thank you.
-
How to display the value of the column
Oracle 10g on Linux
I want to display the value of the id column in the table of www if count (distinct id) is 1. The following query is fine except that it does not display the value of the column ID help, please.
SELECT count(distinct id) FROM www c WHERE C.x_code IN (SELECT D.x_code FROM www_app d WHERE d.y_code = '1151299386') having count(distinct id) = 1
I think you can use MAX in this case
SELECT max(id) FROM www c WHERE C.x_code IN (SELECT D.x_code FROM www_app d WHERE d.y_code = '1151299386') having count(distinct id) = 1
-
Display the values of the Page element in HTML table
Hi all
could you please help me with the below? I want to have a table in the HTML area and to display in the table of elements of the Page of the page.
I got the code like this:
{
< table >
< tr > < td > & P1_ECEMEA_ASSISTANCE < table > < /tr >
< tr > < td > & P1_ECEMEA_WIP < table > < /tr >
< /table >
}
It shows the element of the Page names in the form of text, not the values.
However, this code without the tags table:
{
ECEMEA request for Assistance of the CQT: & P1_ECEMEA_ASSISTANCE.
ECEMEA CQT Work in Progress: & P1_ECEMEA_WIP.
}
Works and Page element values are displayed.
Is it possible to display the values of the Page element in the HTML table at all or should I use a different method to show the values in a table? The above is only an excerpt of the code. I need to display about 30 items in Page, put in shape in a table with headers.
Please let me know what kind of region is the best to use, or if I have to use only a few symbols of escape in the table code...
Thank you and best regards,
VladimirVladimir,
Looks like you're missing the period after the substitution variables.
{
&P1_ECEMEA_ASSISTANCE. &P1_ECEMEA_WIP. -D.
-
Display the values of variables
I'm working on a Captivate 5 project in which the values of the variables are assigned and then reassigned. Is it possible to display the value of a variable in a text box or other window to ensure that the value changes? Thank you.
Darin
Hello David,.
It's the way I am especially debugging advanced actions by inserting the variables used in a text of the legend Rick indicates. A long time ago that I wrote two articles on the basic use of variables, perhaps reading could specify:
Use the power of variables without advanced actions
Unleash the power of variables with advanced actions
CAUTION: sometimes the update does not appear immediately. In another thread, I explained how you can refresh the contents of the enhanced TextArea widget that contains a variable that is filled with another widget on the same blade.
Lilybiri
-
The first query shows that there is no amount present in the warehouse
The second query shows the warehouse got about 35 pieces of a specific material.SQL> select sum(received_qty) - sum(transact_qty) - sum(transit_qty) from ship_1 where matid='52616 ' and placefrom='Jeddah MC'; SUM(RECEIVED_QTY)-SUM(TRANSACT_QTY)-SUM(TRANSIT_QTY) ----------------------------------------------------
In the form for the first query, I want to display the value 0 (zero), how this can be done...?SQL> select sum(received_qty) - sum(transact_qty) - sum(transit_qty) from ship_1 where matid='8521' and placefrom='Central Store'; SUM(RECEIVED_QTY)-SUM(TRANSACT_QTY)-SUM(TRANSIT_QTY) ---------------------------------------------------- 35
Hello
Using NVL as
select NVL (sum(received_qty) ,0) - NVL (sum(transact_qty),0) - NVL (sum(transit_qty),0) from ship_1 where matid='52616 ' and placefrom='Jeddah MC';
Kind regards
Abdetu...
-
Why HBox does not display the value of the label?
I try to display the value of language in HBox (red cloth).
< mx:HBox label = "Tax Code" width = "100 percent" height = "100%" >
< mx:VBox autoLayout = "true" >
< mx:HBox label = "tax detailsborderStyle""" = "solid" borderColor = "#000000" ToolTip = "Tax Details" textAlign = "center" > "
< mx:Form width = "100%" height = "90%" >
< mx:FormItem label = tax "Registered(Y/N)" direction = "horizontal" >
< mx:RadioButtonGroup id = "rbgCreditTaxDetails" / >
< mx:RadioButton label = "Yes" groupName = "rbgCreditTaxDetails" / >
< mx:RadioButton label = "" groupName = "rbgCreditTaxDetails" / >
< / mx:FormItem >
< mx:DataGrid dataProvider = "{status}" >
< mx:columns >
< mx:DataGridColumn headerText = "TaxCode" dataField = "status" / >
< mx:DataGridColumn headerText = "tax registration No." dataField = "description" / >
< / mx:columns >
< / mx:DataGrid >
< / mx:Form >
< / mx:HBox >
< / mx:VBox >
< / mx:HBox >
Hello
This tag will be useful when you add your HBox in a TabNavigator. In tabs label will indicate.
Hope this helps
Rush me
-
Display the value of the element in the HTML area
Is there a way to display the value of an element within an HTML reigion? I know below is not the syntax that is appropriate, but there must be a way to call for the value of an element to display in my HTML code.
<!--
< body >
< p >: P1_ITEM < /p >
< / body >
->
Published by: dsn0wman on August 31, 2008 12:58
Published by: dsn0wman on August 31, 2008 12:59You can use the following syntax in the header, html body, or the footor in your area:
& P1_ITEM.
And commercial front and end point are needed.
If you want to format, you can use the following
< span style = "make-weight: bold;" "color: darkblue" > & P1_ITEM. </span >
Denes Kubicek
-------------------------------------------------------------------
http://deneskubicek.blogspot.com/
http://www.Opal-consulting.de/training
http://Apex.Oracle.com/pls/OTN/f?p=31517:1
------------------------------------------------------------------- -
If it is possible to display the value of de FACTO to the field.
Our customer's requirement is
(1) user enter the value in DFF.
(2) the user wants that the display value FDF field (Ex Invoice_num)
If you have set up to do this? or how this requirement for customization?
Please someone help me.
Kind regards
Vimal
Hi George,.
I used the customization and made my needs... Thanks for your help.
Kind regards
Vimal
-
storage base problem edit a field in the database
Hi all
In fact, I'm trying to insert the data into a database table using sql lite.
the code below is I tried to recover the data from the field of basic editing and I'm not
able to read the values. Is it the correct way to insert the data from the edit field or
am I missing something or is this the wrong way to insert data in database tables.
st=db.createStatement("INSERT INTO Personal(name,phone,email,city) VALUES('nameField.getText()','phoneField.getText()','emailField.getText()','cityField.getText()')");
However the code below works fine where I am inserting data in the as shown below
and I am able to read the data. But the thing I want to read data from the basiceditfield.
st=db.createStatement("INSERT INTO Personal(name,phone,email,city) VALUES('saran',9036114828,'[email protected]','Bangalore')");
Thanks in advance...
Change your sql for:
st=db.createStatement("INSERT INTO Personal(name,phone,email,city) VALUES(" + "'" + nameField.getText() + "'," + "'" + phoneField.getText() + "'," + "'" + emailField.getText() + "'," + "'" + cityField.getText() + "')");
Maybe you are looking for
-
How can I pay for the Apple's music with iTunes from my iTunes account card
I buy an iTunes on my iTunes card and I'm paying my Apple music, how can I do?
-
After stop of Smartwatch2 'smart connect' paired...
I just got my SW2. I can pair successf with Xperia C, but the watch does not restart. It crashes just the screen smart «connet» watch I tried several times and get the same result. Any idea?
-
We have a legacy MFC application where we use Clistctrl on the shape view dialog box.each row in the list displays an icon on the far left of the line.Everything works perfectly on windows xp, but when we use same app on windows 7 then sometimesevil
-
Unable to get the widget to open dreamweaver cs6 mac
Mac S 10.6.8 (snow leopard)I am unable to load widgets since dreamweaver CS6. Able to sign into Adobe ID, but will not charge.Message: "could not feed widget. Make sure that you are connected to the internet. unknown error. »Firefox, safari, and goog
-
filter find_entity_views
HelloI'm trying to get a list of all the virtual machine which have "reserve any memory comments" off.I did not find a reference to this field in the documentation.any idea what the filter to be applied in find_entity_view for virtual machine?Vim::fi