Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Incrementing a counter and getting its value
Message
From
05/04/2002 13:51:29
 
 
To
05/04/2002 13:16:59
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00641537
Message ID:
00641556
Views:
28
This message has been marked as a message which has helped to the initial question of the thread.
This assumes that you're accessing Microsoft SQL Server

cSQLString = "DECLARE @value int; Update Pecas_Parm Set @value = PD_ExpLiPC = PD_ExpLiPC + 1 WHERE ...; SELECT @value"

The new value will be returned as a result set.

-Mike
Michael Levy
MCSD, MCDBA
ma_levy@hotmail.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform