Jan

  Check to see if the variable exists first

 

  SET VAR vChkVar = (CHKVAR(' RBTI_FORM_DIRTYVAR '))

 

     --1 = exists      

     --0 = does not exists

 

   IF vChkVar = 1 THEN 

     IF RBTI_FORM_DIRTYVAR = 1 THEN

       SAVEROW

     ENDIF

   ENDIF

   

   CLOSEWINDOW      

 

Buddy

 

 

From: rbase-l@googlegroups.com [mailto:rbase-l@googlegroups.com] On Behalf Of 
jan johansen
Sent: Friday, March 2, 2018 11:38 AM
To: rbase-l@googlegroups.com
Subject: [RBASE-L] - DIRTYVAR

 

Group,

 

I want to check RBTI_FORM_DIRTYVAR for 1 before exit to ask to save changes.

However if there haven't been any changes, the dirty var wouldn't be set.

Do I initialize it?

 

Jan

-- 
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 rbase-l+unsubscr...@googlegroups.com 
<mailto:rbase-l+unsubscr...@googlegroups.com> .
For more options, visit https://groups.google.com/d/optout.

-- 
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 rbase-l+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to