User Form return values

B

bryan

From my template I Have a userform which has 2 radio buttons (Add or Delete).
I also have a textbox for the user to input which vehicle(s) seperated by
commas.

When I click OK and come back to my form how do I retrieve the values from
the radio buttons and from the textbox? From this I will query the database
to get vehicle info to place on the form

I've done this with combo boxes and use: strPolicy = UF.ComboBox1.Text

How would I code to get radio1 and radio2 value and textbox value?
Something like bool1 = UF.radio1.value
bool2 = UF.radio2.value
strveh = UF.textbox1.Text
Would that be correct?

Thanks for the help,
Bryan
 
B

bryan

I answered my own question by testing this.
I've learned more than I thought from this discussion group

Bryan
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top