Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Locking with SQL7
Message
From
29/02/2000 23:32:50
 
 
To
29/02/2000 17:08:36
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, United States
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00338970
Message ID:
00339598
Views:
20
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform