Hello,
when I save some information in my database with a string like this:
strSQL = " UPDATE Personeelsfuncties SET Status = '" & [Forms]![FrmPersoneel]![cboStatus] & "', "
strSQL = strSQL & " Hoofdfunctie = " & [Forms]![FrmPersoneel]![chkHoofd_functie] & " "
strSQL = strSQL & " WHERE (Personeelsnummer = " & Me.txtPersoneelsnummer & ") "
iIt goes wrong when I use the " ' " sign.
The reason for this is that access stops the string at this sign.
How can I solve this problem so that I can use the " ' " sign in textfields?
Thanks in advance,
Sven.
when I save some information in my database with a string like this:
strSQL = " UPDATE Personeelsfuncties SET Status = '" & [Forms]![FrmPersoneel]![cboStatus] & "', "
strSQL = strSQL & " Hoofdfunctie = " & [Forms]![FrmPersoneel]![chkHoofd_functie] & " "
strSQL = strSQL & " WHERE (Personeelsnummer = " & Me.txtPersoneelsnummer & ") "
iIt goes wrong when I use the " ' " sign.
The reason for this is that access stops the string at this sign.
How can I solve this problem so that I can use the " ' " sign in textfields?
Thanks in advance,
Sven.