main logo
Subject: RE: Set grid columns after a redefinition or a RecordSource.
Author: "Tracy Pearson"
Posted: 2005/01/31 14:46:30
 
View Entire Thread
New Search


> -----Original Message-----
> From: Stephen the Cook
>
>
> Tracy Pearson wrote:
> >> -----Original Message-----
> >> From: Stephen the Cook
> >>
> >>
> >> Tracy Pearson wrote:
> >>>
> >>> This is one method of not needing to rebuild the grid ---
> In LOAD of
> >>> Form create a cursor to hold the data and be bound to 2nd
> grid. The
> >>> Select should be to a tempcursor zap the cursor created in LOAD
> >>> append from dbf(tempcursor) use in tempcursor --- VFP 8
> introduced
> >>> AutoFit method --- set recordsource to "" before the select
> >>> statement (sometimes this may get the same results you
> are currently
> >>> seeing.)
> >>
> >> I just hardcoded the width per column before I did the
> grid.refresh()
> >>
> >> Thanks.
> >>
> >> Stephen Russell
> >> S.R. & Associates
> >> Memphis, TN 38115
> >>
> >> 901.246-0159
> >>
> >
> >
> > You don't have custom Header labels changing on you?
>
> Not in this case. They are all defined in Select Statement
> and come through just as I wanted them.
>
>
>

Glad it's working for you.


Tracy Pearson
PowerChurch Software
828-665-1818





 
©2005 Tracy Pearson
<-- Prior Message New Search Next Message -->