Hi All,
I have a program which does this
Where DataToSave is a String.
All is fine till today when testing I put in
Tom's birthday.
What has happened is the ' for Tom has corrupted the data being saved.
How can I fix this error.
I did think of Encoding Base 64 but then all previous data would not work.
Tom
oops Saving, sorry about that
I have a program which does this
B4X:
SQL.ExecNonQuery("UPDATE daytimes SET patient = '" & DataToSave & "', modified = 1 " & Where)
All is fine till today when testing I put in
Tom's birthday.
What has happened is the ' for Tom has corrupted the data being saved.
How can I fix this error.
I did think of Encoding Base 64 but then all previous data would not work.
Tom
oops Saving, sorry about that