I have no idea whats wrong with my Code it keeps giving my an Synxtax error in UPDATE statement here is the code :
adoQueryUsers.SQL.Clear;
adoQueryUsers.SQL.Add('Update Users SET Password = "' +
EdtPassword.Text + '" where Username = "' + sUsername + '" ');
adoQueryUsers.Active := true;
adoQueryUsers.ExecSQL;
I did try using adoQueryUsers.SQL.Text : = but it gives me the exact same problem.
... Password = "' + StringReplace(EdtPassword.Text, '''', '''''', [rfReplaceAll]) + '" where Username ...? Do the same forsUsernametooadoQueryUsers.Active := trueis not necessary for updates