Lee wrote: > > <dtml-let table expr="classcode_to_table(classcode)"> I think: <dtml-let table="classcode_to_table(classcode)"> ..will do it, if it doesn't, then you probabyl can't :-S cheers, Chris