G
G.F.Schl
In an ASP I access an Access DB containing names. I tried
everthing I can imagine to use """ instead of '" including
defining a constant (X37) but it either fails with an exec
error or fails when names containing ' are processed.
MY current code is:
sqltemp="select * from logindata where lastname='"
sqltemp=sqltemp & myname & "'"
(It doesn't work when I try to make it with one statement)
I am using FP2002.
Can anyone tell me how to code this for handling names
that contain '.
Thanks 10to6
everthing I can imagine to use """ instead of '" including
defining a constant (X37) but it either fails with an exec
error or fails when names containing ' are processed.
MY current code is:
sqltemp="select * from logindata where lastname='"
sqltemp=sqltemp & myname & "'"
(It doesn't work when I try to make it with one statement)
I am using FP2002.
Can anyone tell me how to code this for handling names
that contain '.
Thanks 10to6