Hi Experts,
A grid class I am toying with now has a reference to my CursorAdapter class. The grid has columns which is a subset of the fields of the CA class. The grid works fine initially on a form. Upon calling CursorFill(), the grid then displays a diff set of columns altogether.
To elaborate:
My CA class has Fields A, B, C, D, E and F. In the grid however, I only show fields A, B, D, and E - 4 columns. If I invoke CursorFill(), it still shows 4 columns, but now it shows fields A, B, C, D. Sample code below:
Init Event:
... code here to create a dummy cursor Tempdata based on myCA.Alias
... also in setting the diff columns of myGrid
MyRefresh Event:
myGrid.RecordSource = "Tempdata"
myCA.CursorFill()
myGrid.RecordSource = myCA.Alias
Thanks in advance,
Dennis