Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Control
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00677782
Message ID:
00677819
Views:
18
Hi Ria,

There are several properties in the grid that must be assigned. I usually open the form to assign the properties as opposed to assigning them programmically via the init event. Place the mouse in the grid and then right click. From the menu that appear select properties.
Thisform.Grid1.RowSource       the_alias
Thisform.Grid1.RowSourceType   1 - Alias
Then go to column1
Thisform.Grid1.column1.ControlSource    the_alias.the_field
Thisform.Grid1.Column1.CurrentControl   Text1
Then go down to Text1
Thisform.Grid1.Column1.Text1.ControlSource   the_alias.the_field
The sequence would be repeated until all your columns have been assigned.

In the load event of the form you might put something like the following
Select A
use
use the_cursor again in 0 alias the_alias
The above command is to make the cursor updateable.
Leland F. Jackson, CPA
Software - Master (TM)
smvfp@mail.smvfp.com
Software Master TM
Previous
Reply
Map
View

Click here to load this message in the networking platform