Creating objects

  • Thread starter Thread starter Simonc
  • Start date Start date
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?
 
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.
 
Back
Top