RadioButtonList

  • Thread starter Thread starter ck
  • Start date Start date
C

ck

VB 2005 Express Edition

I need to propagate the results of a selection of radio buttons over several
pages and eventually write the results (values) of the radiobuttons to CSV
file.

Best approach?
 
How about a little more information about what you're trying to do?
Are these like answers to multiple choice questions?

1. Do you know how to program? o Yes _ No
2. Do you program for Windows? o Yes _ No
3. Do you know assembly language? _ Yes o No
4. Do you know C++? _ Yes o No


Write string to file:

"Y","Y","N","N"


Something like this?
 
Kevin said:
How about a little more information about what you're trying to do?
Are these like answers to multiple choice questions?

1. Do you know how to program? o Yes _ No
2. Do you program for Windows? o Yes _ No
3. Do you know assembly language? _ Yes o No
4. Do you know C++? _ Yes o No


Write string to file:

"Y","Y","N","N"


Something like this?


Yes, these are very much multiple choice questions. Example:

Five pages of rate-this-on-a-scale-of-one-to-five type questions, five
pages, each page has a *next* and *back* button, final page has a *finish*
button.

Results would be a CVS file like :

1,4,2,3,5,1,1,2,4,5.....etc, quotes would be ok also "1","4","2",.....etc,
eventually these will be imported to an Excel speadshee. Aggregated data
from several users will crunched and the results will be emailed back to the
user. Automating this will be the next step.

I've done this in a stand alone VB6 application and used a control array of
radio buttons within frames and creative use of the modulus operator to
summarize the the results, but I'm really trying to convert this to a web
based survey quickly.

What I'd like is some direction as far as scope or such, i.e. when I reach
the last page can I get the selected value of RadioButtonList1 or am I going
to have to save the data as I go along?

Or, should I somehow bind the selections to a temporary record in a database
and copy to a new record when the *finish* button is clicked?

I'm coming from the world of VB6 classic and the server/client side stuff is
a bit confusing.

Any direction would be appreciated

Chris A. Kusmierz
 
Back
Top