L
Linda
I have the following line of code
strsql = "INSERT INTO ProgMgmtTbl (PA, Item, Issue, Current_Status,
Closure_Plan) values('" _
& [SR Number] & " ', '" & [SR Title] & "',' " & Description & "
' , ' " & Status & " ' , ' " & Resolution & " ' )"
which I changed after reading other postings to :
strsql = "INSERT INTO ProgMgmtTbl (PA, Item, Issue, Current_Status,
Closure_Plan) values('" & [SR Number] & " ', '" & [SR Title] & "',""" &
Description & """, """ & Status & """, """ & Resolution & """)"
This works to avoid errors when the text fields contain a single quote. But
I also have the case where a word within the field might be enclosed in
double quotes. How do I get those to pass through as well?
Thanks for your help.
strsql = "INSERT INTO ProgMgmtTbl (PA, Item, Issue, Current_Status,
Closure_Plan) values('" _
& [SR Number] & " ', '" & [SR Title] & "',' " & Description & "
' , ' " & Status & " ' , ' " & Resolution & " ' )"
which I changed after reading other postings to :
strsql = "INSERT INTO ProgMgmtTbl (PA, Item, Issue, Current_Status,
Closure_Plan) values('" & [SR Number] & " ', '" & [SR Title] & "',""" &
Description & """, """ & Status & """, """ & Resolution & """)"
This works to avoid errors when the text fields contain a single quote. But
I also have the case where a word within the field might be enclosed in
double quotes. How do I get those to pass through as well?
Thanks for your help.