Page 1 of 1

edit value dis appears

Posted: Sun Jul 20, 2008 8:23 pm
by hag
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....

Posted: Sun Jul 20, 2008 11:57 pm
by hag
Came up with my own userdefined function and it is not pretty but works.