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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form/Code question 1

Status
Not open for further replies.

herd

Technical User
Jun 23, 2003
46
0
0
US
Is it possible to have a command button in Form1 change the Backcolor on a Label that's in Form2?


Gary
 
If Form2 is a main form you may try something like this:
Forms!Form2![name of label].BackColor = RGB(255, 255, 0)

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top