thanks Alexandre,
if I create them in code, how do I "USE" them in my DE?, at present I have my own DE and Cursor classes which I instantiate in the Load event of my forms, I then issue ThisForm.oDE.OpenTables(), or are you saying, create them in code then run the code which then adds them to an open database?
many thanks
Pete
Regards,
Peter J. Kane
Pete