>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.