Solved

Default value

Posted on 1998-06-21
1
155 Views
Last Modified: 2010-05-03
I have a really easy question.  when I design an option group or some toggle buttons, it always defaults to the first value, how do I change it to have no default value?  I know in access how to do this, but it seems different in VB.

0
Comment
Question by:dhill10358
1 Comment
 
LVL 1

Accepted Solution

by:
khaledc earned 10 total points
ID: 1463921
To change an option default value, use the value property for the option. You can set the value property either at design time or at run time. To do it at design time, click at the option control (in question ) and then click on the left hand MouseButton -> properties -> set the value to False.
At run time, you can set it in the following manner:
option.value=False

I hope that this answer your question.
Write if you need more info.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

765 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