Myron,


Also, put your SET VAR vwatch1 TEXT = NULL in the form ON BEFORE START eep.

Then change your DB-edit ON ENTER to SET VAR vwatch1 = NULL



You declare a vWatch1 variable but then you evaluate cilockbox.

You should evaluate vWatch1



Jan





From: "Myron Finegold" <[email protected]>
To: <[email protected]>
Date: Sat, 6 Jun 2020 13:26:11 -0700
Subject: [RBASE-L] - DB Edit Field - Change the field background color based 
on the value in the field



What Object: DB Edit Field

Desire: to the background color change based on the value in the column. 
This will be a ‘Y’ or an ‘N’.

 

The DB Edit field has been given a unique component ID. ciLockBox

 

A custom EEP has been put into the ‘On Enter’ choice

   PROPERTY ciLockBox COLOR 'white'

   RETURN

 

A custom EEP has been put into the ‘On Exit’ choice

   SET VAR vwatch1 TEXT = NULL


   GETPROPERTY cilockbox TEXTVALUE vwatch1

   IF vwatch1 IS NULL THEN

    RETURN

   ENDIF

  IF cilockbox = 'Y' THEN


  PROPERTY cilockbox COLOR 'green'


  ELSE

  PROPERTY cilockbox COLOR 'red'

  ENDIF

  RETURN

 

This isn’t working. As they say I have hit the wall. Any suggestions would 
be appreciated.

 

Myron Finegold

Sheriff’s Posse of Sun City West




--
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an 
email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/00a601d63c40%24b8fc3c00%242af4b400%24%40gmail.com.

-- 
For group guidelines, visit 
http://www.rbase.com/support/usersgroup_guidelines.php
--- 
You received this message because you are subscribed to the Google Groups 
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rbase-l/WC20200607154955.310008%40jjcalibrations.com.

Reply via email to