Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid Updating
Message
From
22/11/1999 10:45:53
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00293910
Message ID:
00293918
Views:
21
Hi Jim,

What about putting the Refresh into the InteractiveChange event for the control in Column 3? Now, are you doing a REPLACE on the table and columns 4,7, and 8 are bound to this same table?

>I have a grid and the source is a table and type is alias. When a product number is entered in the 3rd column and you press enter or tab, it looks up that number in an array and then updates the table for column 4,7, and 8. The table is updated correctly, but the grid will not show the changes from the table until you press enter or tab again. Sometimes it will show all the changes immediately, sometimes it will only show the changes for column 7 and 8, and sometimes it will show no changes. I have tried coding in BeforeRowColChange and AfterRowColChange with the same results. I've tried thisform.grid1.refresh everywhere with no luck. Is there a way to refresh the activerow of a grid? Or, how do you code your grid to update when changes are made to the associated table it is linked to.
>Thanks for your help!
>
>Colombo.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform