Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Textbox or Label ? 1

Status
Not open for further replies.

ntech

IS-IT--Management
Aug 21, 2001
12
GB
I am just getting into VBA and I am stuck on a particular problem.

I want to change text in a label or textbox with a string.

How would I do this ?

Can anyone recommend a good book on VBA ?

Thanks
 
Hi!

Labels:
[tt]Me!lblSomeLabel.Caption = "Blah blah"[/tt]
Text controls:
[tt]Me!txtSomeContro.Value = "Blah blah"[/tt]

.Value can be ommitted for text control, it's the default property.

Most recommended book for Access VBA (on this site) seems to be Access <version> Developer Handbook, Getz et al, Sybex. But do visit a bookstore and see if you find something you like, it's always a matter of preference;-)

Roy-Vidar
 
Thanks.

Perfect result.

Its so easy when you know how.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top