Andy, An error message / traceback would be useful ;-) Rik Hoekstra wrote: > >insert into related (rootstory, <dtml-sqlvar field>) > > in that case you just want a <dtml-var field> (you not passing it as sql > query values) Nope, the <dtml-sqlvar field> is for quoting use in SQL statements, kindof like <dtml-var field sql_quote> which I think may be even be correct syntax... cheers, Chris