Mat,
>Still stumped on this one, any ideas?
I think you're right that the key lies in the following:
"When the seek fails, it calls the error routine in the cSecurityRulesFullAccess class with error # 1526 (ODBC connectivity error). "
I'm not sure why you're getting this error at this point. You may want to try instantiating the SecurityMgr class in the VFP Command Window and trying to call the methods manually.
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