Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Uncommitted Changes
Message
 
À
06/01/2010 04:13:28
Hong Yew
People Quest
Malaisie
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01442138
Message ID:
01442393
Vues:
59
>Hi Naomi
>
>I have added the following code just before REQUERY but I am still not able to solve the problem.
>The error occured at the REQUERY line.
>
>IF (CURSORGETPROP('Buffering')=5 AND GETNEXTMODIFIED(0)>0)
> =TABLEUPDATE(.T.,.T.)
>ELSE
> lcfldsts = GETFLDSTATE(-1)
> IF VARTYPE(lcfldsts) = 'C' AND ('2' $ lcfldsts OR '3' $ lcfldsts OR '4' $lcfldsts)
> =TABLEUPDATE(.T.,.T.)
> ENDIF
>ENDIF
>=REQUERY()
>

Try adding a GOTO TOP before your call to GETNEXTMODIFIED. You'll also want to make absolutely sure the table that may have been modified is the currently selected cursor.
-Paul

RCS Solutions, Inc.
Blog
Twitter
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform