Board index » off-topic » DBF temporary table
Claudio Zanetta
Delphi Developer |
DBF temporary table2004-09-10 05:49:40 AM off-topic5 Hi, I need to create a temporary dbf table, I think using this code: with TTable.Create(nil) do begin DatabaseName := GetEnvironmentVariable('TEMP'); TableName := 'test'; TableType := ttDBase; with FieldDefs do begin Add('F_NAME', ftString,20,false); Add('L_NAME', ftString,30,false); end; CreateTable; end; The problem is that it works fine only on some computers, in others it tells me "Cannot open table" and I don't know why! Is there a sort of BDE bug? If I use ttParadox type the code works fine on all computers! Please help me, thanks. Claudio |