Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Locking with SQL7
Message
De
29/02/2000 23:32:50
 
 
À
29/02/2000 17:08:36
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00338970
Message ID:
00339598
Vues:
21
>>Look at it again... the UPDATE will NOT work unless the LAstNumber is still what it was when the selet was done. Look at the WHERE of the update.
>Bob,
>sorry about that, you are absolutely right. What I was thinking?
>OTOH, I think SQLExec will return 1 even when UPDATE will not update anything and lSuccess will be always TRUE.
>lSuccess = ( SQLExec(nConn, cSQL) = 1 )
>
>Oleg

DOH! You are right of course, you have to select @@Rowcount!!!

Sorry Pasqule!!!

BOb
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform