At 02:44 PM 1/3/2008, Alastair Burr wrote:
When I go back to edit a new form with a DB Grid on it the columns titles have all disappeared. By just updating the control they all re-appear. Any ideas what I should be looking for?
Alastair, While in form designer, right click on the DB Grid control in question and verify the associated "Table Name". While customizing and selecting the DB Grid Columns, make sure that you have selected the appropriate columns. DB Grid Control | Properties | Columns You may also delete the existing DB control and then place the control again with appropriate table/columns.
Also, is there any way to restore the default sort after having clicked on one or more of the column titles to sort the data? I've tried REFRESHing and CLOSing and then OPENing the dataset but the sorted column remains marked and the sort unchanged.
A new PROPERTY TABLE <formtablename> 'RestoreOrderBy' option would be a nice addition to existing table PROPERTY commands. Very Best R:egards, Razzak.

