>BTW: I hope your tables aren't *really* named "in" and "out"....could cause some very ugly looking and hard to read code :-)
You can usually get away with naming tables or fields the same as VFP key words, but try it with SQL keywords and you asking for trouble.
Erik Moore
Clientelligence