How to use table symbol in function

Why this code saves headers of t table into tt folder?
t:( dt:2012.02.20 2012.02.20 2012.02.17;sym:abc; pr:1 2 3) f:{[d;t] tt:delete dt from select from t where dt=d; .Q.dpft[:fin/db;
1;sym;tt]}
f[2012.02.20;t]

How can I save tt table?

To: personal-kdbplus@googlegroups.com
X-Mailer: Apple Mail (2.1257)

.Q.dpft works with globals
so
tt::

Regards,
Attila
On 20 Feb 2012, at 13:00, xander wrote:

> Why this code saves headers of t table into tt folder?
> t:( dt:2012.02.20 2012.02.20 2012.02.17;sym:abc; pr:1 2 3) \> f:{[d;t] tt:delete dt from select from t where dt=d; = .Q.dpft[:fin/db;
> 1;sym;tt]}
> f[2012.02.20;t]
>
> How can I save tt table?
>
> –
> You received this message because you are subscribed to the Google =
Groups “Kdb+ Personal Developers” group.
> To post to this group, send email to =
personal-kdbplus@googlegroups.com.
> To unsubscribe from this group, send email to =
personal-kdbplus+unsubscribe@googlegroups.com.
> For more options, visit this group at =
http://groups.google.com/group/personal-kdbplus?hl=en.
>