Bill,
 
I do this and it works: (vadvance and vworkord are variable check boxes in my form)
 
SET VAR vadvance = 'F'
SET VAR vworkord = 'F'
RECALC VAR
RETURN
 
One thing - vadvance and vworkord are defined in the on before start eep of the form, they're not defined in the form variable list - that will make a difference.
 
Dawn


From: Bill Eyring [mailto:[EMAIL PROTECTED]
Sent: Monday, November 14, 2005 3:38 PM
To: RBG7-L Mailing List
Subject: [RBG7-L] - Clearing Variables Problem

I have a form based on a dummy table to make certain selections to print a report. This form contains;
 
2 Variable Check Boxes (vunder,vover)
 
1 Variable Edit (vinvamt) to enter a dollar amount
 
1 Variable Radio Group (printer,screen,select printer,menu)
 
When the form is opened, my check boxes are set to a value of 'F'. The default state is unchecked ('F') in the control properties.
 
When the user makes their choices and prints the report they want, the variable edit vinvamt clears but the check boxes remained checked and the radio group remains checked.
 
I have tried everything I know of to clear these controls including;
 
clear all variables
screen restore on
set v vover(variable checkbox)='F'
set v vunder(variable checkbox)='F'
set v vout=null (variable radio group)
property table Tablename 'Refresh'
recalc variables
 
I would like the form to appear as it does when first opened. (i.e. no values displayed) Can anyone help me with this ? I know I can close the form and re-open it, but I'd rather not.
 
 
 
Thanks,
 
Bill Eyring
[EMAIL PROTECTED]
516-965-3890
 
 

Reply via email to