Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old March 14th, 2008, 06:38 AM
Authorized User
Join Date: Feb 2008
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to hewstone999
Default Create Check Boxes/Option buttons/Option Group

I’m really stuck on how to create: Check Boxes/Option button/Option Group in VBA.

Could someone help on either all of them or some of them please?



Old March 14th, 2008, 07:25 AM
Friend of Wrox
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts

When you say you want to create them in VBA, do you mean you want to create them programmatically? Can you create a stored form instead? Why would it need to be programmatic? You can do this, but it is more of a VB.Net thing. Access allows you to create plenty of forms and store them in your database.

When you create the controls, you also have to place them and set their properties using VBA as well. What do you want them to do, and how will the properties be controlled? (Where will you get the property values?

In the rare cases that I have had to do this in Access, I usually create the controls (more than I need) and place them on the form, then position and enable them as needed based on values from a previous operation.


Look it up at: http://wrox.books24x7.com

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Option buttons NovieProgrammer Access VBA 1 April 2nd, 2005 09:16 PM
Is one (1) a 'length' for option buttons? John K. King Javascript How-To 2 November 7th, 2004 06:04 PM
Option group vnadig Access 6 September 8th, 2004 02:53 PM
Option Group Procedures Mr.Crud Access VBA 7 February 12th, 2004 06:45 PM
Option buttons, queries and combo boxes... Anubis Access VBA 26 November 20th, 2003 12:45 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.