FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour edit value dis appears
Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
edit value dis appears
Posted: Sun Jul 20, 2008 08: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
Posts: 598
Joined: Tue Apr 15, 2008 04:51 PM
edit value dis appears
Posted: Sun Jul 20, 2008 11:57 PM

Came up with my own userdefined function and it is not pretty but works.

Thank you

Harvey

Continue the discussion