Dynamic Textbox?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to make one of my forms add or delete Textboxes based on the
count value of a query that I use.
Has anyone ever done this before?
Can it be done.
How would you start to code something like this?
 
Not good practice to add and delete textboxes "on the fly". A form will
allow only 756 (I think?) controls to be created over the "lifetime" of the
form. Deleted controls do not necessarily restore the count to a lower
value.

Best to put all the textboxes that you would need on the form, and then
manipulate the Visible property of the textboxes to make visible the ones
you want to show and to make invisible the ones you don't want to show.
 
Back
Top