If you want to have the first record be "New Part" what I might suggest is to create a field in your database named Priority set all values to zero. Set the "New Part" record Priority to one. Link the Flexgrid to a query and have the ORDER BY clause Priority Desc. If the query is dynamic always ensure the first parameter in the ORDER BY clause is Priority Desc and do not allow users to change, access, or sort by the Priority field. This will always keep the new part record at the top of the view.
Hope this helps.
Larry Asher
|