Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Clearing an Option Group

Status
Not open for further replies.

mns117

Programmer
Apr 8, 2002
32
US
Hi...I have a form with an option group...If the user selects an option a the value is stored in a table. I want to include a button next to each option group that I create to allow the user to clear their selection...basically for data analysis I need to know if no choice was selected...Please Help ASAP

Thanks

Mike
 
Hi Mike!

Just set the option group value to zero and none of the buttons should be selected.

hth
Jeff Bridgham
bridgham@purdue.edu
 
can you tell me how to do that using a command button....thanks...mike
 
well, here's some thing simple...

make a command button on the page, then goto it's on click event procedure...

In there put some thing like this...

me!optgrpname = 0

it should be that easy...

--James
junior1544@jmjpc.net
Life is change. To deny change is to deny life.
 
thanks...actually the correct reference would be...

me!optgroupname.value=0
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top