New feature! Upgrade and increase expert visibility of your issues with Priority Questions.
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.