edit value dis appears

Post Reply
hag
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California
Contact:

edit value dis appears

Post 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....
Thank you
Harvey
hag
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California
Contact:

Post by hag »

Came up with my own userdefined function and it is not pretty but works.
Thank you
Harvey
Post Reply