hi,
i'm creating a form that has two toggle button, to select between two different textbox that user can insert into.
These two toggle buttons function as switch between two textbox, i.e when user select Togglebutton 1 then textbox1.visible=true and textbox2.visible=false vice versa.
Now the problem is how can I add a button to submit/continue that understands which togglebutton that user choose?
the code above shows error runtime 2427 : You entered an expression that has no value
any help? Thanks!
i'm creating a form that has two toggle button, to select between two different textbox that user can insert into.
These two toggle buttons function as switch between two textbox, i.e when user select Togglebutton 1 then textbox1.visible=true and textbox2.visible=false vice versa.
Now the problem is how can I add a button to submit/continue that understands which togglebutton that user choose?
Code:
If Me.Toggle5 = True Then
MsgBox ("yes")
End If
If Me.Toggle6 = True Then
MsgBox ("no")
End If
any help? Thanks!