Dim vNewFunds As Integer
Dim myNewFunds As String = "UPDATE tblChar SET Cash = " & vNewFunds & " WHERE Username = '" & vName & "'"
Dim myNewFundsCommand As New OleDb.OleDbCommand(myNewFunds, OleDbConnection1)
This is my SQL statement to update a value on an Access backend. Whenever I run the ExecuteNonQuery, the cell becomes a null value. Please tell me a better way to approach this.
Dim myNewFunds As String = "UPDATE tblChar SET Cash = " & vNewFunds & " WHERE Username = '" & vName & "'"
Dim myNewFundsCommand As New OleDb.OleDbCommand(myNewFunds, OleDbConnection1)
This is my SQL statement to update a value on an Access backend. Whenever I run the ExecuteNonQuery, the cell becomes a null value. Please tell me a better way to approach this.