Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Refresh My Grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00519080
Message ID:
00519094
Views:
18
>Hello Everyone!!!
>I have a form that has a pageframe that has a grid.
>I have a button on the page that pulls information into a table called moneymove.dbf
>Every time the button is pressed I get a new result in my table. I want these changes to shown in my grid. I have never worked with a grid before, so I have no clue as to how to refresh the grid every time the table is refreshed.

>How can I get my grid to work?

>Thanks in advance


Go to property list of the grid
1)Find "columncount" and set it to however many columns you want to display
2)Find "recordSourceType" and set it to 1 ("Alias")
3)Find "recordSource" and set it to your table "moneymove"
4)Right click on the grid and select edit

5)For each column find the "controlsource" property and assign it a nme from your table such as "moneymove.amount" for example
6)for each column set the header caption

NOTE: If moneymove is a temp. cursor don't close it, instead zap it. If it is a VFP View then its is going to be ok.

Now how you get your data into your cursor/table is another story.

Good luck
Work as if you don't need money
Love as if you've never been hurt before
Live as if this is your last day to live
Dance as if no one's watching
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform