Let me explain this one carefully:
(1) I have a grid on my form that has some code to make the current record's row highlighted. This code is actually built into the Grid Class.
(2) I have a combo drop-down box in which I re-execute SQL code based on what the user selects. If the user Sleects to list Vendors by Name ord, then that SQL fires. If the user chooses to select by Vendor Number, then that SQL code fires.
(3) When I first arrive into the form, I can see the blue highlight in the background. However, when I pick one of the two choices in the combo box, the grid's former highlighting capabilites rapidly disappear.
(4) I have placed code into the LostFocus event of the combo box to execute SQL code to change the order of the temp cursor result which feeds the data to the grid.
(5) I then set the grid properties to columncount = 2, I set the header names and sizes (widths) and then execute a refresh() on the grid itself.
Then all of my former highlighting capabilites are gone and I can no longer tell where the cursor (record pointer) is in the grid as I go up and down it.
Anyone understand what I am presenting here and how to resolve getting the former procedures in the Grid Class to work?
Cecil