I have an application with several variables forms with a grid in it.
When I want to retrieve values from a grid I do:
Code: Select all
nATL := GetProperty( 'FORM_1' , 'Grid_1' , 'ItemCount' )
FOR A = 1 TO nATL
x1 := Form_Pt1.Grid_1.Item (a) [1]
// do something with x1
NEXT
Code: Select all
nATL := GetProperty( cFORM , 'Grid_1' , 'ItemCount' )
FOR A = 1 TO nATL
x1 := GetProperty( cFORM , 'Grid_1' , 'Item(A)' [1] ) // nok
x2 := &cFORM.Grid_1.Item(a) [1] // nok
// do something with x1
NEXT
Anybody knows how to do it right?
Thx, Serge