My table gather information from a form, some users filled form with new line or tab in the "description" field, I want to remove these new lines and tab in the table, I tried using immidiate window, and typed:
DoCmd.RunSQL: "UPDATE Property SET Property.[Desc] = Replace(Desc,Chr(13) & Chr(10) & Chr(9),"""")"
After hit enter, I get error:
compile error:
expected: line number or label or statement or end of statement.
I am new to Immediate window and can anybody tell me where I am wrong or tell me how to remove those new lines and tabs in the table?
Thanks for help!
DoCmd.RunSQL: "UPDATE Property SET Property.[Desc] = Replace(Desc,Chr(13) & Chr(10) & Chr(9),"""")"
After hit enter, I get error:
compile error:
expected: line number or label or statement or end of statement.
I am new to Immediate window and can anybody tell me where I am wrong or tell me how to remove those new lines and tabs in the table?
Thanks for help!