i have made a code that makes a text and shows that txt through a msgbox. Now i want this txt as well in a table, because i need others to copy this txt and paste it somewhere else.
In the table i made a memofield txt_GER for the german txt.
In the code i wrote:
DoCmd.RunSQL ("UPDATE Table SET txt_GER=" & txt & " WHERE ID=" & rs.Fields("Id"))
When i try to run this code i get this message: Runtime error 3075: Syntaxiserror (missing operator) in query-expression
<B>xxx</B><ul class="yyy"><li>zzz<li>
I want this txt including the html-codes into this field.
Any suggestions?