Saving Option Button Caption

Posted on 2006-04-09
Medium Priority
Last Modified: 2011-09-20
I Placed a frame (caption  as Priority) on the form, in that frame i placed Option Button control array,
Option1(0) caption is Urgent
Option1(1) caption is Study
Option1(2) caption is Information
I am storing values in database,How can i save its captions
For i = Option1.LBound To Option1.UBound
        If Option1(i).Value = True Then
        rs("Priority") = i
         Exit For
        End If

Priority is the column name of database
right now i am storing the values, How can i save its caption,please let me know
Question by:devdept
  • 2
LVL 54

Accepted Solution

Ryan Chong earned 2000 total points
ID: 16410609

rs("Priority") = Option1(i).Caption
LVL 54

Expert Comment

by:Ryan Chong
ID: 16410982
Any reason why you award me a "C" here? I think I fairly can get an "A" here!

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question