edit value dis appears

edit value dis appears

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

Postby hag » Sun Jul 20, 2008 11:57 pm

Came up with my own userdefined function and it is not pretty but works.
Thank you
Harvey
hag
 
Posts: 598
Joined: Tue Apr 15, 2008 4:51 pm
Location: LOs Angeles, California


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 68 guests