Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Forms > AfterUpdate Cod...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 8 Topic 44670 of 46475
Post > Topic >>

AfterUpdate Code

by =?Utf-8?B?Sm9l?= <Joe@[EMAIL PROTECTED] > Aug 8, 2008 at 06:51 AM

This is message is being posted for code evaluation/correction to a problem

for which a partial solution was provided by "Klatuu". Any insight from
the 
"MVPs" or anyone with a solution will be greatly appreciated. I am not a
code 
expert so a simple suggestion/solution specific to the solution will be
most 
useful.

The code below changes the background color of a drop down menu choices
when 
placed in the After Update code section. However, the last two colors,
“Blue” 
and Orange” have a black text that shows trough the color background. 
Why?


Me.Combo56.BackColor = IIf(IsNull(Me.Combo56.Value) = True, 15066597, 
Switch(Me.Combo56.Value = "Green", 65280, Me.Combo56.Value = "Yellow",
65535, 
Me.Combo56.Value = "Red", 255, Me.Combo56.Value = "Blue", 16737843, 
Me.Combo56.Value = "Orange", 5220351))
 




 8 Posts in Topic:
AfterUpdate Code
=?Utf-8?B?Sm9l?= <Joe@  2008-08-08 06:51:02 
Re: AfterUpdate Code
"Douglas J. Steele&q  2008-08-08 11:46:48 
Re: AfterUpdate Code
=?Utf-8?B?Sm9l?= <Joe@  2008-08-08 09:13:00 
Re: AfterUpdate Code
"BruceM" <ba  2008-08-08 12:50:26 
Re: AfterUpdate Code
=?Utf-8?B?Sm9l?= <Joe@  2008-08-08 10:30:00 
Re: AfterUpdate Code
"BruceM" <ba  2008-08-08 13:59:34 
Re: AfterUpdate Code
"Linq Adams via Acce  2008-08-08 18:14:45 
Re: AfterUpdate Code
=?Utf-8?B?Sm9l?= <Joe@  2008-08-08 11:58:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 20:52:46 CST 2008.