Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grids & cursors
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00134428
Message ID:
00134430
Views:
13
>Hello All,
>In the Load of my form, I have a create cursor command.
>Upon leaving the second page of the pageframe on the form, I populate the cursor. The third page of the form has a grid which I have set the cursor as the recordsource and countolsource. I've also set the columnCount as well as some other properties of the grid.
>Programically, I set the caption of the headers of the columns.
>
>PROBLEM:
>The grid has no clue that the cursor exists. The properties I have set in the grid are not seen. (I opened up debugger and found columncount to be 0 where I had set it to 4).
>
>What's going on here??!!
>
>Sandy

It's difficult to say by sure, but if you fire Grid.Refresh after finishing resetting grid properties (recordsource and column.controlsources) it must show the data. It might be helpful, if you set needed Grid.ColumnCount in Form Designer.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform