Simplicty and flexibility!


if with getvalue setvalue


Started by Rainer
Search
You will need to Sign In to be able to add or comment on the forum!

if with getvalue setvalue

I have two virtual fields "ok" and "ok1". In the derivation of "ok1"I have "if(GetValue("KDNR") = blank, SetValue("OK","N"), SetValue("OK","J"))".

That sould bee updated with "refreshform"? The Record is not saved jet.


Written by Rainer 06/09/16 at 15:00:49 Dataease [{8}]FIVE

Re:if with getvalue setvalue

Yes. 

Depends on the derivation of the Virtual Fields and the order of the fields.

If the virtual fields that are set are after the one that "manipulate" them them derivation of the virtual fields will "trump" your attempts to set them.

If this is not the case, the problem might be case etc. as all GUI functions (including OML) is case sensitive when prism functions (COLUMNS) are not.


Written by DataEase 07/09/16 at 08:44:18 Dataease [{8}]FIVE
DG3_ForumList