Solved

Control Groups through VBA

Posted on 2004-09-08
5
533 Views
Last Modified: 2012-06-27
Is there any way that controls can be grouped through VBA code? To clairify what I mean by grouping, I am refering to the Format / Group menu option.
0
Comment
Question by:wetwitched
5 Comments
 
LVL 34

Accepted Solution

by:
flavo earned 250 total points
ID: 12012337
I dont have that option, but in 97 you can only group Option Buttons (the yes / no circles) so that it only allows 1 to be chosen (like a mulitchoice exam or something....)

Dave
0
 
LVL 1

Assisted Solution

by:flocken
flocken earned 250 total points
ID: 12015231
IMHO, no. Or at least, there is no easy way to do it - in MSDN Library it was not found.

I tried to do it with the .Parent property (similar to the way to find which lable is bound to wich text/listbox), but it seems not to work.

The only way I can imagine in general to find, if such possibility exists or not is the following:
1. to make a new db1 (f.ex.) with a sample form with some elements on the form.
2. to close this db1
3. to copy it to db2
4. open db2, select some controls and then group them using menu.
5. to close db2
6. to buy FMS-Detective or Comparer from SourceBin, which allow detailed comparison of 2 Access databases and to compare db1 with db2
7. if the comparison programms do find the difference, then to try to use the corresponding properties in VBA code.

I would do it myself, but I don't have neither FMS-Detective nor SourceBin Comparer, unfortunately :(

flocken
0

Featured Post

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

In the previous article, Using a Critera Form to Filter Records (http://www.experts-exchange.com/A_6069.html), the form was basically a data container storing user input, which queries and other database objects could read. The form had to remain op…
As tax season makes its return, so does the increase in cyber crime and tax refund phishing that comes with it
Using Microsoft Access, learn some simple rules for how to construct tables in a relational database. Split up all multi-value fields into single values: Split up fields that belong to other things into separate tables: Make sure that all record…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

778 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