Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid: RecordSource issue
Message
From
13/05/2002 08:27:28
Mike Yearwood
Toronto, Ontario, Canada
 
 
To
12/05/2002 20:16:51
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00655536
Message ID:
00655615
Views:
27
Hi Richard

How are you "load(ing) the data"? If you're using a view, just requery().

>I have a grid (in a container class) that I have initially set the names of the columns and the RecordSource is set on the fly. The first time that I load the data, the grid remains the same [ie size of columns and header captions]. The second time I load data in the same session, the grid takes on the size of the cursor fields (C(50)) and the header captions become that of the cursor (recordsource property of the grid) that is being used. The cursor name is different every time loading the data.
>
>Does anyone have any suggestions on how to keep the grid the same, but load the new data into the grid?
>
>Thanks,
>Richard
Previous
Reply
Map
View

Click here to load this message in the networking platform