Thanks Tobi
 
Jim

"Hoffman, Tobi K (DYS)" <[EMAIL PROTECTED]> wrote:
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: AccessDevelopers@yahoogroups.com
[mailto:[EMAIL PROTECTED] On Behalf Of luvmymelody
Sent: Thursday, January 05, 2006 1:32 PM
To: AccessDevelopers@yahoogroups.com
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








__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


Please zip all files prior to uploading to Files section.




SPONSORED LINKS
Microsoft access developer Microsoft access help Microsoft access database
Microsoft access training Microsoft access training course Microsoft access programming


YAHOO! GROUPS LINKS




Reply via email to