Unchecking All Check Boxes with one button?
Hello,
I am trying to include a button which automatically unchecks multiple checked boxes. Does anyone have any idea on how I could do this? Please let me know
Thanks,
Dilip
the push button is ok to hide and show objects
but will not make you check or uncheck the check box
great that u solved the issue
good luck
Similar Messages
-
How to check/uncheck all check boxes in an insert-not-allowed block
Hi All,
I have a column of check box which is placed in a multirow block. This block's INSERT_ALLOWED property is set to false. The column of check box is not a database item and its insert_allowed property is to true. Now I use the following code which is in when-button-pressed trigger to control checking/unchecking all the check boxes:
go_block('selected_payment');
first_record;
loop
:cb_payflag:= 'N'; -- uncheck the check box
exit when (:system.last_record = 'true');
next_record;
end loop;
It gives me 'FRM-41051 Cannot create records here' error, and it goes into an infinite loop. It looks like it never reaches the last record where the block actually contains two records.
Please help!
Thanks in advance.
Regards,
VanessaIt sounds like your block does not have a field where the cursor focus can go when looping through the records. Create a dummy non-db field in the block which is enabled and has insert/update allowed. see if it then works. If it does then you can shrink the field down to 1x1 pixels with no border so the user cannot ever click on it and it's invisible.
-
Check box with Radio button functionality
Hi All,
I have a requirement like I need to have two check boxes on selection screen when ever I check one the other should be cleared with out pressing enter or any thing on selection screen just like radio button, all helpful answers are rewarded
Thanks
GiridharHi Karnam Giridhar,
Try thee following code.
PARAMETERS: test1 RADIOBUTTON GROUP sc1 DEFAULT 'X' user-command u1,
test2 RADIOBUTTON GROUP sc1.
PARAMETERS : p_file TYPE rlgrap-filename.
AT SELECTION-SCREEN OUTPUT.
if test2 is initial.
loop at screen.
if screen-name EQ 'P_FILE'.
P_FILE = ''.
screen-input = '0'.
modify screen.
endif.
endloop.
endif.
AT selection-screen.
if not test2 is initial.
loop at screen.
if screen-name EQ 'P_FILE'.
if screen-input eq '0'.
screen-input = '1'.
modify screen.
endif.
endif.
endloop.
endif.
Regards
Raj -
Turn off TV and SD box with one button?
My TV's IR sensor is busted so I have no remote capabilities to control the TV. I am looking for a way to turn off the TV along with my SD box at the same time. Is this possible?
With my past service (cable) I was able to achieve this by plugging my TV's power into the cable box. Once I powered off the cable box, my TV shut off. Basically it killed the power to the TV.
I am looking for a way to do this with my Verizon SD box.
I have plugged my TV into the SD box, tried powering off the SD box, but the TV remains on. Is there anything I'm missing? I've gone through the SD box settings menu and cannot find an option.
Please help!
Thanks in advance.This is what worked for me using the RC144 5302 / 00B Remote! Hope it helps!
Press and hold the STB key.
While holding the STB key, press OK.
Release both keys. The device Keys will blink twice.
Press 9-7-7. The STB key will blink twice.
One after the other, press each device Key you want the Power Key to control in the order you want them to turn on or off.
Press OK when done. The STB key will blink 3 times to indicate success in programming! -
Dialog box with one button, when clicked will launch another script
How do I create a button inside a dialog box, which, when clicked, will open up another script?
]I've typed
set myDialog to display dialog "Finished?" buttons {"Shutdown", "Screensaver"}
if button returned of myDialog is "Screensaver" then
run script ("Macintosh HD:Users:Seb:Applescript:ScreenSaver.scpt" as alias)
if button returned of myDialog is "Shutdown" then++
run script ("Macintosh HD:Users:Seb:Applescript:Shutdown.scpt" as alias)
end if
but it gives me an error and says "Expected end of line, etc. but found end of script." -
Selection screen change with check box and radio buttons
hi frieds
i have an requirement that
there is a check box in the selection screen and bydefault it has been check if it check the selection box shuld be disable
if it uncheck the check box then selection block should enabled and in that againg two radion buttons are there. Bydefualt one radio button is enabled so that correspondng parameter is allow to enter input data. if i select the othere radio button the immeditely it allow the correpnding field entry and other radio button should be disabled with that field.
please send the piece of code...
regards
vijayHi,
Use the event AT SELECTION-SCREEN OUTPUT.
Here is an example:
at selection-screen output.
if gv_ucomm = 'RG1'.
loop at screen.
if pa_rgor = 'X'.
if screen-name+7(1) = '2' or
screen-name+7(1) = '1'.
screen-input = 0.
endif.
endif.
if pa_rgof = 'X'.
if screen-name+7(1) = '1' or
screen-name+7(1) = '3'.
screen-input = 0.
endif.
endif.
if pa_rgaa = 'X'.
if screen-name+7(1) = '2' or
screen-name+7(1) = '3'.
screen-input = 0.
endif.
endif.
modify screen.
endloop.
endif. -
Problem getting check boxes and radio button to click with applescript
This is my script, it runs through without error, i can see the check box lightly flash like its being focused in on, but it wont actually check mark the box. it does this with all my check boxes and radio buttons.
tell application "Adobe InDesign CS3"
activate
end tell
tell application "System Events"
tell process "InDesign"
tell menu bar 1
click menu bar item 12
key code 125
key code 125
key code 124
key code 125
key code 125
key code 36
delay 1
end tell
tell window "Variable Links"
click checkbox "Use InDesign Tags Filter"
end tell
end tell
end tellHi craneium and welcome
For me this script fails, going through it step by step it seems confused, as I have highlighted out in the below code.
where is the window "Variable Links, may be I can help.
tell application "Adobe InDesign CS3"
activate
end tell
tell application "System Events"
tell process "InDesign"
tell menu bar 1
click menu bar item 12 --opens spotlight search in help
key code 125 -- highlights indesign help
key code 125 -- highlights welcome screen
key code 124 -- goes to apple
key code 125 -- goes to about this computer
key code 125 -- highlights software update
key code 36 -- starts software update
delay 1 -- ?
end tell
tell window "Variable Links" -- error cant get window variable links
click checkbox "Use InDesign Tags Filter"
end tell
end tell
end tell
Budgie -
Oracle apex check box with update column
hi to all:
i have report emp.it contain data like eno,ename,sal,record .
example:eno ename sal record
100 a 100
200 b 3000 going on...
using this column i am making report by using apex and report contain one submit button also.
1)in this report i am creating dynamic check box depend on eno..see my coding
declare
str varchar2(3000);
begin
str:='select htmldb_item.CHECKBOX(10,eno,DECODE(record,1,''CHECKED'')) "SELECT" ,eno,ename,sal ,record from emp where 1=1';
return str;
end;
2)in process crated after submit
iam created pl/code like ..this code for
declare
i number;
str varchar2(2000);
emp_id number;
begin
FOR i in 1..HTMLDB_APPLICATION.G_F10.count
LOOP
IF HTMLDB_APPLICATION.G_F10(i) is not null then
SELECT htmldb_application.G_F10(i) INTO emp_id from dual;
--insert into my_log values(emp_id);commit;
update emp set record=1 where eno=emp_id ;
commit;
else if HTMLDB_APPLICATION.G_F10(i) is null then
update emp set record=0 where eno=emp_id ;
commit;
else
null;
end if;
end loop;
end;
my requirenent:
a)if check box checked then -update -record column -1
b)if check box uncked then -update - record column -0
in process coding--
eno alway is not null only..
so i want to do check box with update the record column..like this
a)if check box checked then -update -record column -1
b)if check box uncked then -update - record column -0
pls give solution.
output i want like this example:
chebox eno ename sal record
checked(X) 100 a 300 1
checked(x) 200 b 300 1
next time i am trying to make uncheck first row like
chebox eno ename sal record
unchecked 100 a 300 0
checked(x) 200 b 300 1I'm not really sure what your problem is but if you are trying to update/save data when a checkbox is checked I would use javascript to call an application process to do the update/save.
/Daniel -
How to insert into 2 tables from the same page (with one button link)
Hi,
I have the following 2 tables....
Employees
emp_id number not null
name varchar2(30) not null
email varchar2(50)
hire_date date
dept_id number
PK = emp_id
FK = dept_id
Notes
note_id number not null
added_on date not null
added_by varchar2(30) not null
note varchar2(4000)
emp_id number not null
PK = note_id
FK = emp_id
I want to do an insert into both tables via the application and also via the same page (with one button link). I have made a form to add an employee with an add button - adding an employee is no problem.
Now, on the same page, I have added a html text area in another region, where the user can write a note. But how do I get the note to insert into the Notes table when the user clicks the add button?
In other words, when the user clicks 'add', the employee information should be inserted into the Employees table and the note should be inserted into the Notes table.
How do I go about doing this?
Thanks.Hi,
These are my After Submit Processes...
After Submit
30 Process Row of NOTES Automatic Row Processing (DML) Unconditional
30 Process Row of EMPLOYEES Automatic Row Processing (DML) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
40 reset page Clear Cache for all Items on Pages (PageID,PageID,PageID) Unconditional
50 Insert into Tables PL/SQL anonymous block Conditional
My pl/sql code is the same as posted earlier.
Upon inserting data into the forms and clicking the add button, I get this error...
ORA-06550: line 1, column 102: PL/SQL: ORA-00904: "NOTES": invalid identifier ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored
Error Unable to process row of table EMPLOYEES.
Is there something wrong with the pl/sql code or is it something else? -
How to put Check Boxes and Radio button in Smartforms
Hi all,
How to put check Box and radio button in Smartforms ............ from web properties there is an option to use. But How to use.
regards,
Mohsinu can declare the checkboxes or radiobuttons whatever in driver program and pass the same to ur form...
-
Hi :
In application express as we have select withredirect can you include check box with redirect
please suggest
Thanks
sudhirSudhir,
Check whether the following javascript helps you.
function go() {
var abc = '';
var radioLength = document.wwv_flow.p_v05.length;
var retVal = '';
if(radioLength == undefined)
if(document.wwv_flow.p_v05.checked)
retVal = document.wwv_flow.p_v05.value;
else
return "";
for(var i = 0; i < radioLength; i++) {
if(document.wwv_flow.p_v05.checked) {
retVal = retVal + '4' +document.wwv_flow.p_v05[i].value;
retVal = retVal.substring(1, retVal.length);
if(retVal=='Y')
var answer = confirm("Do you want to move to the page a ? If yes,press OK to move to a , CANCEL to stay here");
if (answer == true)
alert('Please wait while we transfer you to the Consulting Win Story template');
location.href="url a ";
else
return"";
if(retVal=='N')
alert(' Thank you');
location.href="same page url";}
here i have used the option button to move to another page and stay in the same page.
If you want to submit the page for any value,
you can write doSubmit( submitbuttonname);
call this function on the option button, in html form element attributes.
name ="p_v05" onClick="go()"
Message was edited by:
archana -
Check Box With Tick Mark on Sap Script
Hello All,
We need to add a check box with tick mark on Sap Script.Please can anyone let me know how can we add it.
Regards
Amrutahi amruta,
The soluti as an image into on to your problem can be to use the symbol icon as told , but this may show in preview not in print.
I too faced the same problem.
So what i had done is created a new window with the diemnsions of the chekc box with border thcikness 8 tw and inside that window place a checkmark symbol.
if this checkmark symbol also does not show up in print preview/ doesshow in print preview and not in print then you can scan a chekcmark image and upload it into business document server as a BMP/ TIFF image and use this image in your checkbox window.
Hope this solves your problem.
Warm Regards
Venugopal.T -
How to create a check box with an X
Hi,
How do you create a check box with an X as apposed to a tick?
ThanksGo to the check box's properties and in the Options tab choose "Cross" as the check box style.
-
Export two TXT files with one button
Hi,
I'm using Application Express 2.0, i'm developing aplication in which users import few different excel spreadsheets and after that they export date in specified TXT format.
I'w like to create functionality to export two and more files in CSV (TXT) format with one button and one click only in defined folder. It's necessary to simplify work of my endusers becose they have to generate ten or more files.
Is it possible create functionality which generate files in defined folder without any addtional user's action?
Best,
KirilCreate a procedure to output the files, use the oracle directory object to define your output path.
create or replace directory wayne as '/csv';
use google or metalink to get examples. This way you can output as many files as you want, my personal opinion would be to create a dynamic report your users could run on demand. -
Can we perform two actions with one button with two clicks one after other?
Sir,
can we perform two actions with one button with two clicks one after other?
I want that when I click an Add Button first time it add data to the database and when I click again this button it clear the form data to empty fields.
Regards
TanvirIn code it should be easy.
The following code adds a button called butman with a text "ADD".
It then registers a listener that will be called if the button is clicked.
This listener then calls the runAddData method if you clicked on butman while it contained the "ADD" text and it will call the runClearData method otherwise.
Therefore it will swap the button's functionality between ADD and CLEAR on every click.
final Button butman = new Button("ADD");
butman.setOnAction(new EventHandler<ActionEvent>() {
@Override
public void handle(ActionEvent t) {
if (butman.getText().equals("ADD")) {
butman.setText("CLEAR");
runAddData();
} else {
butman.setText("ADD");
runClearData();
} // END IF-THEN
}});I hope this is what you wanted.
Some extra food for thought.
You might want to run the ADD and CLEAR methods in their own threads so that it can run in the back ground, without slowing down your user interface.
I also like to rather reuse one button for multiple functionality in stead of making an application with hundreds of nodes only used rarely with masses of code to show and hide them if needed.
Maybe you are looking for
-
"Quarter moons" in each corner of computer screen
I have a MacBookPro and an iMac that I try to maintain with similar configurations and applications, however; I am at a loss with a "problem" that has appeared on my laptop. In each corner of the screen are what I would describe as "quarter moons" or
-
Hi all, I have this configuration: version 12.2 service nagle no service pad service tcp-keepalives-in service tcp-keepalives-out service timestamps debug datetime service timestamps log datetime msec localtime service password-encryption service int
-
Screensaver always on, not detecting inactivity
Hello, Recently I am having issues with the screensaver setting, it comes on everytime I reach the log-in page while booting, and instead of turning on after 'x' mintues of inactivity it just gets turned on after 'x' mintues. Means if I slide it to 5
-
I am trying to do a select where one set of date/time columns are greater than another. My date is stored in one column while the time is stored in another. Only the date portion of the date column is valid and only the time portion of the time col
-
Cannot send 100 emails since "Yahoo" upgraded
Once a month I have to send the same email to 100 group members from Thunderbird. I have done this for 4 years, but since "upgrading" to Yahoo last week I cannot. Message received is "http://postmaster.yahoo.com/abuse_smtp.html " Three times I have f