PC Review


Reply
Thread Tools Rate Thread

Adding textbox in Forms

 
 
gatarossi@ig.com.br
Guest
Posts: n/a
 
      16th Jul 2007
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é.

 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      16th Jul 2007
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
http://I.Am/DougSteele
(no e-mails, please!)


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
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é.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Win Forms C# TextBox =?Utf-8?B?UmFq?= Microsoft C# .NET 2 12th Jul 2006 10:41 PM
Textbox in forms =?Utf-8?B?TG9yZW5h?= Microsoft Outlook Form Programming 1 6th Apr 2006 11:19 PM
activex textbox vs windows forms textbox Lizzy Microsoft Dot NET Framework 1 17th Dec 2003 04:50 PM
Re: Forms, TextBox Heapy Microsoft Excel Programming 0 22nd Sep 2003 05:04 PM
Re: VERY STRANGE BUG? Adding a textbox control causes other textbox control to fail??? S. Justin Gengo Microsoft ASP .NET 0 16th Jul 2003 07:51 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 04:54 AM.