text to lcSql noshow textmerge pretext 7 insert into mytable (colu1,col2...) values (<<nval1>>,'<<cval2>>') endtext ?sqlexec(lnYourHandle,lcsql)with chr() values you have to add a ' outside of the <<>>.
text to lcSql noshow textmerge pretext 7 insert into mytable (colu1,col2...) values (?nval1,?cval2) endtext ?sqlexec(lnYourHandle,lcsql)>Hello,