Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids
Message
From
02/04/1999 14:25:21
 
 
To
02/04/1999 14:19:54
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Re: Grids
Miscellaneous
Thread ID:
00204737
Message ID:
00204740
Views:
13
>I have a grid that is based on a cursor. The cursor is created in the Init event of a form. When the form is displayed the grid is completly white with no data. In the data session the cursor is created and does have data in it. What is the problem?
>
>Thanks
>
>Jim

Besides creating a cursor, you should also link it to the grid programmatically , even if you did it in property sheet (actually you may also try to create cursor in Load event, probably it will work better then). Programmatic linking means that you fire:
This.Grid.Recordsource="mycursor"
If you have some specifics, you should set them programmatically too:
This.Grid.ColumnCount=5
This.Grid.Column1.Controlsource="mycursor.myfield5"
etc.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform