Thanks Andrew!
I can save it on a per user basis, so that's no problem.
I like that it then becomes available elsewhere - I had not thought of
that.
I should also be able to save it to an ini file for use the next time
the user opens the app, correct?
(Just thinking out loud before breakfast.)
Patrick
On Mar 26, 4:57*am, "Andrew Morton" <a...@in-press.co.uk.invalid>
wrote:
> Patrick A wrote:
> > When I save datagridview record changes, should the current sort
> > column and order save?
>
> Only if you save the current sort column and order somewhere and then sort
> on that column automatically the next time a user retrieves that data. You
> may want to do thar on a per-user basis.
>
> The other parts of your app will have to use the saved sort column/order
> too.
>
> Data in a database are not inherently ordered in any way: {1,2,3,4} is the
> same as {2,3,1,4} in a database because it is set-based. It is only when you
> select data that you can choose an order for it.
>
> HTH,
>
> Andrew
|