Karen, I got it to work by putting it on entry into the next field. Are you sure your tab order is taking you to the field where you have the eep?
Dawn ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of [email protected] Sent: Monday, October 11, 2010 12:23 PM To: RBASE-L Mailing List Subject: [RBASE-L] - A change in DBEdit color won't stick Using 7.6. I want a field to have a red background if it is empty, white if it is filled in. In the "on form after start eep", this works perfectly. I cannot test the value itself because I have "set zero on" so a variable evaluates as 0 even if empty: SET VAR vText TEXT = NULL GETPROPERTY orxunit TEXTVALUE vText IF vText IS NULL THEN PROPERTY orxunit COLOR 'RED' ELSE PROPERTY orxunit COLOR 'WHITE' ENDIF The next thing I want to do is to change the color to white if they type something in the field. I tried putting the same code in the "after exit" eep of the field, with pause messages to make sure it's evaluating properly, and even though it figured it out right it won't keep the white color. If I trace thru the code, I can see the field changing to white while I am in trace mode, but as soon as the trace is over and it goes to the next field, the color pops back to red. Is there a way I can force it to "keep" that white color? As a test I put the same code on entry into the next field, but the white refuses to stick. Shouldn't this work? Karen DISCLAIMER: This electronic message together with any attachments is confidential. If you are not the intended recipient, do not copy, disclose or use the contents in any way. Please also advise us by return e-mail that you have received the message and then please destroy. Evergreen Packaging is not responsible for any changes made to this message and / or any attachments after sending by Evergreen Packaging. We use virus scanning software but exclude all liability for viruses or anything similar in this email or any attachment.

