edit value dis appears
Posted: Sun Jul 20, 2008 8:23 pm
Using xbrowse.ch
Browse from resources...
when I add an "on edit" clause to a column the value of the old amount returns and the new edited amount disapears.
here is the code
ADD COLUMN TO oBrw;
SIZE 100 RIGHT PICTURE "999,999,999" ;
DATA FIELDWBLOCK (eval(act1),Select("gl")) ;
HEADER "Actual"+" "+cMonth ;
ON EDIT { | oCol, uValue, nLastKey | If(nLastKey == 13,subtotal(1),nil) } ;
COLOR CLR_WHITE, CLR_CYAN EDITABLE
Need some help....
Browse from resources...
when I add an "on edit" clause to a column the value of the old amount returns and the new edited amount disapears.
here is the code
ADD COLUMN TO oBrw;
SIZE 100 RIGHT PICTURE "999,999,999" ;
DATA FIELDWBLOCK (eval(act1),Select("gl")) ;
HEADER "Actual"+" "+cMonth ;
ON EDIT { | oCol, uValue, nLastKey | If(nLastKey == 13,subtotal(1),nil) } ;
COLOR CLR_WHITE, CLR_CYAN EDITABLE
Need some help....