473,387 Members | 1,540 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

How do I write multiple option buttons for multiple inputs

I am writing a VB6 web program for a Survey web site.

They want 10 questions with each having 10 possible option buttons the user can select (like 1 is don't like, 5 is neither like or dislike, 10 is like very much).

I can't figure out how to assign the 1-10 value to the option buttons then be able to retrieve it later per question to write the results to a database.

Can anyone help me? This is probably very easy but for some reason I'm hitting a wall.

Thanks,
Shirley
May 5 '10 #1
1 1246
Guido Geurs
767 Expert 512MB
dear,

You can index the option buttons. (see attachment)
loop trough the options and remember the one with value=true

br,
May 6 '10 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Saxman | last post by:
I created a text box labeled txtText1. The text box has a sample of text within. The Enabled property is set to False and the Multiline property set to True. I have four option buttons set...
2
by: PM | last post by:
I have a question about option buttons and their values. I have many option buttons on my forms, each set contained in their own group boxes. I simply want to be able to give them a value,...
2
by: Omey Samaroo | last post by:
I have had many questions answered in this forum and I am trusting that one of the readers may help me find a simple solution. (1) Using a field called Date_Hired (type: Date/Time), how do I use...
0
by: Robert | last post by:
Stephen, I think I figured out the problem. I was able to get Check Boxes and Option Buttons to work on my form by TURNING OFF RECORD SELECTORS on the form. Not sure why this would make a...
5
by: tsnyder | last post by:
I need to have an option button that allows editing to a field only when it is checked.
1
by: MAIjah | last post by:
Sorry, just a newbie and what I call a 'bruteforce' programmer. I'm using a VBform in EXCEL to pass info to a worksheet. I have 7 option buttons (exclusive?, only one can be true) and want to...
5
by: Zytan | last post by:
Is it possible (I doubt it) to have multiple default buttons in a form? I have several group controls in a single form, and when the focus is within one of the group controls, I want a specific...
1
by: ahmed222too | last post by:
how to use the option buttons in VBA (how to call the value of the option buttons ) and is it must to gather the option buttons in one option group ? thanks
2
by: 6afraidbecause789 | last post by:
Hi - Has anyone ever used toggle buttons to select items in a listbox? I'd like to put about 24 toggle buttons on an unbound form that select or deselect items in a multiple select listbox. I've...
2
beacon
by: beacon | last post by:
Hi everybody, I have a form that has a combo box that asks the user to select the program they work on. Once the user selects the program, a SQL statement populates the row source for 4 staff...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.