Steve,
>Actually, this turned out to be the same problem that I posted in my other thread re: ExecScalar.
>
>sp_pkeys returns information regarding the fields in a specified table that are defined as primary keys.
So, do you have it working now?
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com