JoeP
02-17-2003, 03:25 AM
I'm trying to resolve my problem reading the above sticky posts where the forum offers scripts and tips about single quotes etc. But, I am still having a little problem
MSAcess 2000 SQl Statement
On a form I can Capture Field Data [strDescr]: Mr. Jone's "Bank"
On Update or Insert I have a similar function that takes care of replacing the (') in Mr. Jone's prior to updating the Table field.
When I write a dynamic form with response.write for subsequent editing and update... using SELECT
to pull out the record..e.g.
strDescr = rs("strDescr")
Response.write( "<input type='text' value='" & strDescr & "name='Description' size='50'>" )
On the new form I get output like below in the text box:
Description: Mr. Jone's "Bank"
Where It Should be; Mr. Jone's "Bank"
Would someone please set me straight on this one.
TIA
MSAcess 2000 SQl Statement
On a form I can Capture Field Data [strDescr]: Mr. Jone's "Bank"
On Update or Insert I have a similar function that takes care of replacing the (') in Mr. Jone's prior to updating the Table field.
When I write a dynamic form with response.write for subsequent editing and update... using SELECT
to pull out the record..e.g.
strDescr = rs("strDescr")
Response.write( "<input type='text' value='" & strDescr & "name='Description' size='50'>" )
On the new form I get output like below in the text box:
Description: Mr. Jone's "Bank"
Where It Should be; Mr. Jone's "Bank"
Would someone please set me straight on this one.
TIA