Do you have a BROWSE active at the same time?
A browse which is refreshing itself will change the selected alias automatically. VFP is also susceptible to this with bound controls. This really causes major headaches.
If so, you can hide the window first
HIDE WINDOW
Do
SHOW WINDOW
or something similar
>I am having problems with a piece of code which includes the line SELECT MyTable (or MyCursor), but when the line is executed, the current area doesn't move! This of course causes problems with following lines of code which refer to fields which do not exist in the original table/cursor.
>
>This problem is not reproducible to order, and 99% of the time the current area does move to MyTable, but the 1% failure is enough to cause concern.
>
>The networked application is running on FPD 2.6, using the runtime libraries and NT4.
>
>Has anyone else had this problem? Any help would be appreciated.
>
>Many thanks,
>Alan Harris-Reid
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