Bill,
>No. The free tables have different names. Each table has a ckey with the same name bt different class names.
That should work fine...and you're loading up a different data environment class, right?
When you call the LoadDataEnvironment() method, it calls ReleaseDataEnvironment(), which releases the current data environment. When the data environment is released, it calls CloseTables() from the Destroy() event. This should close the previous lookup table. I recommend tracing through to see if this is happening.
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