Title: Message
Yes, each field would have to be set separately.  It might be better to be sure the tab order is logical, so that if they start in the right place, the focus will automatically jump to the next field to be entered.
 
Tobi
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Jim Wagner
Sent: Thursday, January 05, 2006 2:10 PM
To: [email protected]
Subject: RE: [AccessDevelopers] field colors in form for got focus and lost focus

Tobi,
What if there is alot of fields on a subform? do you do that for each control or what?
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: [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









Yahoo! DSL Something to write home about. Just $16.99/mo. or less


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