Muchas gracias Jimmy, Salinetas y Franco !!! Mañana pruebo sus soluciones.
Jimmy, since almost always the data to load in the grid comes from SQL and has a fixed number of columns, I use:
Code: Select all
DoMethod ("Cortes" , "Grid_1" , "DeleteAllItems")
If HMG_Len ( aTable ) > 0
For i := 1 To HMG_Len ( aTable )
DoMethod ("Cortes" , "Grid_1" , "AddItem" , aTable [i])
Next
EndIf
That would be exactly what I'm needing !!!