Look on the Event tab in Properties, and put color changes in the code
for On Got Focus and On Lost Focus.
Private Sub txtEndDate_GotFocus()
Me.txtEndDate.BackColor = vbGreen
End Sub
Private Sub txtEndDate_LostFocus()
Me.txtEndDate.BackColor = vbWhite
End Sub
Tobi
-----Original Message-----
From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of luvmymelody
Sent: Thursday, January 05, 2006 1:32 PM
To: [email protected]
Subject: [AccessDevelopers] field colors in form for got focus and lost
focus
Hey everyone.
Thanks for all your help in the past.
I have a question about the field colors on a form and is there a way
to have a field with a backcolor ongotfocus and be normal onlostfocus? I
have a new job developing and I am told the users need to have some
extra help with entering data.
Jim Wagner
Please zip all files prior to uploading to Files section.
Yahoo! Groups Links
Please zip all files prior to uploading to Files section.
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/AccessDevelopers/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/