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


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.



Stephen Russell
S.R. & Associates
Memphis, TN 38115

901.246-0159




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