Hi Folks,
I'm lost. I have an app (GoFish) that sets a grid to a controlsource. This is as simple as
loGrid.ColumnCount = Fcount(Thisform.cSearchResultsAlias)
loGrid.RecordSource = (Thisform.cSearchResultsAlias)
The grid itself has a number of columns at design time, oddly set columnorder, oddly set zorder. Some have a column order some not. The number is different to the one set above.
The column
Column17 appears left most and will be the first instantiated. It gets the 3th column of the table. Even when I change the table. It's all time the third.
Why? Why the third?
If you like to try yourself, GoFish is possibly on your comp anyway via Thor.
MODIFY CLASS gf_resultsform OF gofishui.vcx METHOD init to set a breakpoint near the code above.
Check the source.
I never use a grid in this way, I decided to build my grids at run time from start last millenium, I have no idea what is going on.
Thank you for your help.
Lutz
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord
Weeks of programming can save you hours of planning.
OffThere is no place like [::1]