Information générale
Catégorie:
Visual FoxPro Beta
>>I just waisted 8 hours fighting without results against undocumented vfp8 error 2072 (cursor contains unsaved changes...). The error is very hard to track. I tried the application also under VFP9 beta and unfortunatly I see the same bad behaviour. I can't create repro code. I searched UT messages and try some suggested solutions without happy end. It seems that the error is somehow connected to a grid placed on a pageframe page and the moment when new record is added and edited in buffered view. The troublesome form is very similar to other forms that work without any problem. In the moment I hate VFP ...uuuhhhhrrr...
>
>I've had that problem and fixed it. If I remember right, I had to issue a setfocus() somewhere to prevent the error.
After reading your message I played with moving focus again and now the problem dissapeared. Moving focus from grid to page before actual action was the solution. I still did not know why my other very similar forms did not need the special treatment. But it works and now I am happy - thanks !
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement