Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
A nightmare with table buffering
Message
From
09/10/2003 18:37:54
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00836796
Message ID:
00837188
Views:
27
>Aleksey,
>
>The problem was that on my machine when I ran the source the dataupdate was not saving the changes. I panicked and thought this was live, however the built exe was working correctly. I'm using XP so I ran the source code on a windows 2000 machine, and that worked too? So just to elimate it I added the service pack for VFP7, and all is well.
>
>My only problem now is that in the grid certain columns are copying themselves down to different rows same column. I've been told by the great guys on here that I must add a primary key to my cursor, don't really understand why, but i'll try that on Monday when i'm back at the customer.
>
>Make sense?

Hi Robin,

I believe, if you are not working with a view, primary keys don't matter. Do you see the same behavior with BROWSE?

Take a look into thread #787471. I don't know for sure, but your problem could be related. Make sure your custom code that can possibly be called when the grid has focus doesn't leave any "dirty" changes in a record that is not current in the grid, specifically watch out for "dirty" inserts.

Thanks,
Aleksey.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform