JaedenRuiner
Registered User.
- Local time
- Today, 01:25
- Joined
- Jun 22, 2005
- Messages
- 154
The VBA compiler yelled at me, and I am curious:
Can I create a control on a form real-time? For example an advanced search form, that will use AND/OR expressions to build a query into a subform. Thus, i have a combobox that has the values "";"And";"Or", and when that combo box is selected to equal "and"/"or" i want to create the controls to seach for the next item. (Simple CreateControl(Me.Name, acTextBox...) etc.)
THe compiler said I could only create controls on a form during design time but that seems foolish, (or extremely limited). Is it possible to create a control on the fly in access vba?
Thanks
Jaeden "Sifo Dyas" al'Raec Ruiner
Can I create a control on a form real-time? For example an advanced search form, that will use AND/OR expressions to build a query into a subform. Thus, i have a combobox that has the values "";"And";"Or", and when that combo box is selected to equal "and"/"or" i want to create the controls to seach for the next item. (Simple CreateControl(Me.Name, acTextBox...) etc.)
THe compiler said I could only create controls on a form during design time but that seems foolish, (or extremely limited). Is it possible to create a control on the fly in access vba?
Thanks
Jaeden "Sifo Dyas" al'Raec Ruiner