WITH THIS.grdBrowse .ColumnCount = -1 .RecordSource = "MyTable" ...>On my form, I have a grid with ColumnCount = -1. In the Init of the form, I have the following code:
THIS.grdBrowse.RecordSource = THIS.cTableWhen the form open, the grid display the table contents, but only the first 8 fields. How come?
lnFieldsCnt = AFIELDS (laFields) > >WITH THIS.grdBrowse > .ColumnCount = lnFieldsCnt > .RecordSource = "MyTable" > > FOR I = 1 TO lnFieldsCnt > .Columns (I).Header1.Caption = laFields [I, 1] > ENDFOR >ENDWITH