Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using an array with a grid control
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00102613
Message ID:
00102756
Views:
27
>Where is the best place to execute the CREATE CURSOR, in the INIT method of the form?

I would do it in the Load of the form so it's available when the grid initializes.

>
>Should I drop a grid control onto a new tab and then set the control source (of the column or text field?) in design or code?

You can do it either way. It's probably easier to do it at design time. Set the recordsource to the name of your cursor, set the control source of the column to the cursor's fields.

>
>If I change records and update the values in the cursor, will the grid refresh?

You'll need to do a THISFORM.MyPage.Page2.MyGrid.Refresh()
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform