Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How would you do this?
Message
From
10/11/1999 15:15:07
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00287031
Message ID:
00289771
Views:
44
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform