I've got a grid that presents a list of customers for the user to choose from. The user may want to see the list in different orders depending on circumstances (e.g., last activity date, account rep name, main contact name, etc.). I've got buttons on the form to resort the table. (The grid references the table through an alias.) When a sort button is clicked, a SQL select command sorts the table into a temp dbf, deletes the original table, then selects the temp back into the original table. This is all working right except that the grid is blank when done. Refresh()ing the grid doesn't fix it. Data session shows that the alias is correct and selected. I suspect that the problem has to do with deleting the table. How do I get the grid to show the result? Would it be better to DELETE ALL, PACK, and APPEND?
Any suggestions?
TIA,
Shanachie
PS Thanks to all for the responses. You've earned my "ever-asking" gratitude. <g>
[sig][/sig]
Any suggestions?
TIA,
Shanachie
PS Thanks to all for the responses. You've earned my "ever-asking" gratitude. <g>
[sig][/sig]