Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users
Dim rsPubs As ADODB.Recordset Set rsPubs = New ADODB.Recordset Dim enPubs As ADODB.Connection Set enPubs = New ADODB.Connection If txtUsername = "" Then MsgBox ("No user selected") Exit Sub End If 'Now open the connection. enPubs.Open strConn With rsPubs ' Assign the Connection object. .ActiveConnection = enPubs ' Update the required records. .Update "Users SET Removed=1 WHERE Username='" & txtUsername & "'" .Close End With dnPubs.Close Set rsPubs = Nothing Set enPubs = Nothing
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.