Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / General 2 / July 2007

Tip: Looking for answers? Try searching our database.

Adding textbox in Forms

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
gatarossi@ig.com.br - 16 Jul 2007 17:16 GMT
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é.
Douglas J. Steele - 16 Jul 2007 17:35 GMT
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.

Signature

Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(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é.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.