I would like to create a TTable object at run-time and I wrote this code in a unit, but this exception occurs during run : << Project OliForni.exe raise exception class EDBEngineError with massage 'Table does not exist. File or directory does not exist. File : E:\Delphi4\Exe\itamsg.db'. >>. In effect, the table file is not in the current directory but I don't know why the program hangs; I set the "active" property to false, it means do not open the file. I have the same problem if I use the TTable component in the VCL : if the file does not exist (or it's in another directory) the program raise this exception.
I need to check later if the table exists (I think with "CheckOpen" property).