main logo
Subject: RE: Set grid columns after a redefinition or a RecordSource.
Author: "Stephen the Cook"
Posted: 2005/01/31 13:14:41
 
View Entire Thread
New Search


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




 
©2005 Stephen the Cook
<-- Prior Message New Search Next Message -->