And  "IF .vAlpha" does not need a dot before VAlpha

Have a look at Razzak's article about how to use variables

 

Tony

 

 

From: [email protected] [mailto:[email protected]] On Behalf Of TOM HART
Sent: zaterdag 1 juni 2013 15:34
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: DB Chech Box in a form

 

I think it has to be 'true' or 'false' in single quotes
Tom Hart

 

 

  _____  

From: Daniele Barbieri <[email protected]>
To: RBASE-L Mailing List <[email protected]> 
Sent: Saturday, June 1, 2013 4:04 AM
Subject: [RBASE-L] - DB Chech Box in a form


Hello
Rbase 9.5 (32)
In a form I have a DB Edit integer field called Alpha and a DB Check Box
called Beta.
During the  EDIT USING formname  if the user enter in the field Alpha
(initially empty) the value 1700,  the DB Check Box Beta must be visiblile
(should magically appear) otherwise NO.
In the form variable: vAlpha=Alpha
On exit from the field Alpha I've an EEP:
RECALC VARIABLES
RETURN

The component ID for theDB Check Box Beta is GAMMA

In the Form the EEP , On After Start:
IF .vAlpha = 1700 THEN
  PROPERTY GAMMA VISIBLE TRUE
ELSE
  PROPERTY GAMMA VISIBLE FALSE
ENDIF
RETURN

But it does not work

In fact there should be a refresh of the form based on the value entered in
the field Alpha. How can I do this?
TIA
Daniele Barbieri
B.M.B. Informatica 




Reply via email to