You can use name expresion.
lcToName = "TBl01"
SELECT mytable
COPY TO (lcToName)
>I have to to a 'Copy To' with sequential names, ie. "req001", "req002" etc.
>I can obviously just put a variable there because the file gets named with the variable.
>So, is there a way to do this?
--sb--