I first noticed that when I use a For Next using the Xbrowse fields the codeblock onchange from that field is also executed ?
That is correct ? Very nice... did not know, but please confirm...
// his will change data from the selected rows
FOR I = 1 TO LEN(oBRWT2:aSELECTED) // obrw:aSELECTED is an array containing recnos marked
(oBrwT2:cAlias)->(dbgoto(oBRWT2:aSELECTED[I]))
oBrwT2:&nVeldID:Varput( mem_var )
NEXT
Xbrowse bOnChange works when changing data in loop ?
- Marc Venken
- Posts: 1485
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
- nageswaragunupudi
- Posts: 10729
- Joined: Sun Nov 19, 2006 5:22 am
- Location: India
- Been thanked: 10 times
- Contact:
Re: Xbrowse bOnChange works when changing data in loop ?
If you use VarPut(), bOnChange also is executed and totals also get modified.
VarPut() is totally equivalent to user editing the data online.
VarPut() is totally equivalent to user editing the data online.
Regards
G. N. Rao.
Hyderabad, India
G. N. Rao.
Hyderabad, India