Creating objects

S

Simonc

If you have not put an object, such as a combo box on a form, it is
possible to write code so that an object will be created in response to,
for instance, a button click?
 
R

Rick Brandt

Simonc said:
If you have not put an object, such as a combo box on a form, it is
possible to write code so that an object will be created in response to,
for instance, a button click?

Creating objects during Runtime is not very practical in Access. Better to
create the ComboBox at design time but make it hidden. Then you can set
its Visible property to True when your Button is clicked.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top