Simon,
I generally get all of my cursors in Process code (using additional UDFs as necessary from my other Procedure PRG file). The template just expands the data into html. It seems to work quite well, and is easy to debug.
HTH
Barbara
>Hi Barbara
>
>I will give your method a try. I read Rick's help pages. The only problem I seem to have is that my UDF does not get called by the ExpandTemplate method. I can call them in code and they work but they just never get triggered by the Expandtemplate method. I am not sure what 'Error: = Process.MyMethod()' means when I look at the source code of the generated page especially when the functions work properly when called manually.
>
>Thanks
>Simon