Subject Re: Column Sequence in Grid
From Ken Mayer <dbase@nospam.goldenstag.net>
Date Fri, 16 Sep 2022 09:56:55 -0700
Newsgroups dbase.getting-started

On 9/16/2022 9:25 AM, Milind Nighojkar wrote:
> Is there any way to change the column sequence in a grid (not by drag and drop menthod.) thru code before opening  a form.
>
> Example : Say column 3 is date filed and should me moved to column 5 and column 5 to col 3.
>
> Regards

Miland --

If this is how you want the form to look, then please follow the
instructions I gave you in email.

If, however, you want the user to be able to move the columns, and then
when the form opens the next time, display the columns in that sequence,
say so. The instructions I gave you in email will solve the way you
describe it here. You don't need to *change* the columns in program
code, just define them in the sequence you want them in the first place.

Ken

--
*Ken Mayer*
Ken's dBASE Page: http://www.goldenstag.net/dbase
The dUFLP: http://www.goldenstag.net/dbase/index.htm#duflp
dBASE Books: http://www.goldenstag.net/dbase/Books/dBASEBooks.htm
dBASE Tutorial: http://www.goldenstag.net/dbase/Tutorial/00_Preface.htm
dBASE Web Tutorial: http://www.goldenstag.net/dbase/WebTutorial/00_Menu.htm
dBASE DOS to Windows Tutorial:
http://www.goldenstag.net/dbase/DtoWTutorial/00_Menu.htm