Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How would you do this?
Message
De
10/11/1999 15:15:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00287031
Message ID:
00289771
Vues:
42
>Another question. After issuing UPDATE InvoceHeader SET LockedByUser=UserName WHERE InvoceID=ID and LockedByUser=null, and it fails, the table InvoiceHeader is at EOF(). All subsequent UPDATE's will now fail.

UPDATE will work no matter where the record pointer is when you issue the command. You do not have to GO TOP prior to using this.

>I get around this in VFP by issuing GO TOP IN InvoiceHeader first and then the UPDATE. Would the same thing happen with SQL-Server and how would I issue the same type of workaround?
>

You should be able to send the same statement to SQL server as above.

BOb
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform