P
Pepehammer
Hi there guys!
i'm using this query in VB.NET:
Dim sSQLFirstAvailable As String = _
"SELECT TOP 1 * " & _
"FROM Mi_Table "& _
"WHERE Status IN (0,3) AND WTN > '" & sLastWTN & "' " & _
"ORDER BY WTN"
This query it's used in a multi user program, BUT in the same moment 2 or
more users can pick the same record up.
How can i do to "lock" the record that a user is using, and make the next
user to pick up the next record?
Thanks
i'm using this query in VB.NET:
Dim sSQLFirstAvailable As String = _
"SELECT TOP 1 * " & _
"FROM Mi_Table "& _
"WHERE Status IN (0,3) AND WTN > '" & sLastWTN & "' " & _
"ORDER BY WTN"
This query it's used in a multi user program, BUT in the same moment 2 or
more users can pick the same record up.
How can i do to "lock" the record that a user is using, and make the next
user to pick up the next record?
Thanks