Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot update the cursor?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00248570
Message ID:
00248597
Vues:
16
lcUpdtDate = DATE()
...snip...
USE orders SHARED IN 0
...snip...
SELECT ... INTO CURSOR cUpdtOrd
...snip...
SELECT cUpdtOrd
SCAN
   SELECT orders
   IF SEEK(cUpdtOrd.clientid)	
      REPLACE orders.updtdate WITH lcUpdtDate
   ENDIF
   SELECT cUpdtOrd
ENDSCAN
Be careful putting stuff in <>. It is interpretted as html code. Also helps to preface your code with a [pre] and [/pre] tag surrounded by <> instead of [].

What version of VFP are you using? There have been discussions here with an earlier problem of the SEEK() function. You may want to break this down into a SEEK SOME_VALUE instead.
Mark McCasland
Midlothian, TX USA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform