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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visible/invisible options...

Status
Not open for further replies.

willhyde

Technical User
Sep 3, 2001
29
0
0
GB
Hi,

I have a question which is answered yes or no using option buttons. If the answer is yes I want a second question to appear below, otherwise I want the area below to remain blank.

I'm guessing I have to use IF statements involving the 'visible' properties of the text and option buttons for the second question, but I don't know how to go about it.

Any ideas...?
 
Hi,

Can't quite think of the correct syntax but hopefully this will point you in the right direction.

On the after_update OR the On_Click event do something on the lines of:

if optBtn1 = -1 then
controlName.visible = true
else
controlName.visible = false
end if

Let me know if this is what you are after, if not I am here for a while.

Nick
 
Works fine - much appreciated, thanks.

Will.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top