Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control source for grid columns ignored
Message
From
28/11/2002 04:07:28
 
 
To
04/11/2002 20:48:15
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00718774
Message ID:
00727892
Views:
15
This was a long time joke for me, about 1998!
* FORM.LOAD
SELECT (gridRecordSource)
Pick up correct Alias Before the gridclass "birth", it will work as you want.
Otherwise, Gridclass shows the Current Work Area whatever you select..

This IF AND ONLY IF occurs on Grid Class, nothing on basic Form and grid!
It was wasting me 2 weeks to debug!

This is Why grid baby IGNORE my assign value!?

Good luck~

>I have a grid based on a framework gridclass with a columncount of -1. The grid in the form has column count = 6, recordsourcetype = 1-Alias, a valid recordsource, and I define the controlsource for each of the six columns as a specific column of the grid recordsource.
>
>When the form comes up, the columns show up with the first six columns of cursor, not the ones I defined as controlsources. I traced the init of the grid and from instant one it contains those values. I use Codemine.
>
>Any suggestions?
>
>TIA,
>
>Alex
The weak wait for chance, The strong bid for chance,
The clever notch up chance, but The merciful give you chance.
Previous
Reply
Map
View

Click here to load this message in the networking platform