form's background color property

E-D

Registered User.
Local time
Today, 03:45
Joined
Dec 31, 2001
Messages
42
How can I change the form's backcolor to yellow by code?

thanks
 
Try this:

Me.Detail.BackColor = vbYellow
 
If you want to use a variation of yellow, I have found it helpful to steal the number associated with access assigned characters. Change the color to the shade desired.
Go to the Detail properties and copy the number stored in back color (a golden yellow is 52479). Change the form back to original color and then incorporate the desired color into code:

Me.Detail.BackColor=52479
 

Users who are viewing this thread

Back
Top Bottom