Talk About Network

Google





Software > Access Forms > Re: Form Design...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 46520 of 46786
Post > Topic >>

Re: Form Design - text box

by "Dirk Goldgar" <dg@[EMAIL PROTECTED] > Dec 3, 2008 at 01:15 PM

"Nadine" <Nadine@[EMAIL PROTECTED]
> wrote in message 
news:424CA0CE-496B-45F3-AC9D-69A60BBBFDE5@[EMAIL PROTECTED]
> Can I not just have a box with text it it that isn't linked to anything,
> But the test displays on the form, if so, how?


If the text is going to be static, not changeable by the user, and not 
derived from anything else, then you might as well use a label instead of
a 
text box.  However, you certainly can have an unbound text box that the
user 
can update, just by adding the text box to the form.  Or you can have a 
calculated text box whose value is set by an expression you provide for
its 
Control Source property.  For example, to have a text box that always 
displays "This is my text", you would specify this as its Control Source:

    ="This is my text"

If you want to have a control where your code will display messages to 
users, I would use a label control rather than a text box, and my code
would 
set that control's Caption property.

-- 
Dirk Goldgar, MS Access MVP
www.datagnostics.com

(please reply to the newsgroup)
 




 4 Posts in Topic:
Form Design - text box
=?Utf-8?B?TmFkaW5l?= <  2008-12-03 10:09:01 
Re: Form Design - text box
"Dirk Goldgar"   2008-12-03 13:15:10 
RE: Form Design - text box
=?Utf-8?B?R29sZmlucmF5?=   2008-12-03 10:16:21 
RE: Form Design - text box
=?Utf-8?B?TmFkaW5l?= <  2008-12-03 11:32:26 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
localhost-V2008-12-19 Fri Jan 9 14:41:03 PST 2009.