I have a grid based on a cursor that contains the primary key of another
table which is related into the temporary table.
When displaying the grid, it correctly displays the columns from the real
table based on the relation.
However, if I select another form (form loses focus) and then click on the
grid, all the rows show the same values as the row I have clicked on. This
only happens the first time I open the form and do this. After this it is
fine.
If I click on any other column in the row, the grid fixes itself up to
display the correct rows.
I have put an explicit seek into the DynamicBackColor and
AfterRowColumnChange events to ensure that each row has the correct pointer
to the table but I don't think this is the problem.
Since the columns displayed are user selectable, it is not feasible to
include them all in the cursor.
Any ideas as to how to stop this as it is very annoying.?
Cheers
David
Cheers
David