Form Design - text box

  • Thread starter Thread starter Nadine
  • Start date Start date
N

Nadine

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?

thanks
 
Nadine said:
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.
 
Label (duh) been too long since created a form, guess I need to go back and
refresh.

thanks.
 
Back
Top