Adding textbox in Forms

  • Thread starter Thread starter gatarossi
  • Start date Start date
G

gatarossi

Dear all,

How can I add via code a textbox in my form?

And the new textox is a unbound form? How can I vincule it with a
field in my table?

Thanks.

André.
 
While there is a CreateControl function that will allow you to add a text
box to a form, it's seldom a good idea to use it, as forms have a limit of
754 controls that can be added during their lifetime. You'd be far better
off to add the control to the form in advance, and simply toggle its
visibility.

If the form's unbound, the only way you can update the table is to have VBA
code that runs SQL code.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


Dear all,

How can I add via code a textbox in my form?

And the new textox is a unbound form? How can I vincule it with a
field in my table?

Thanks.

André.
 
Back
Top