CultLeaderZero
asked on
Error attempting to open TApolloTable dbf
I am using Delphi 7, Apollo VCL 6.1. I am getting the message that the code cannot open the file, even though the file is there. It is not open by any other application or user. The TApolloTable has a dbf file (USERS.dbf) as its source.
if dm.Table_Users.Exists then
begin
messagedlg('Users table exists',mtInformation,[mbOK],0);
end;
try
dm.Table_Users.Open;
dm.Table_Users.SetOrder(dm.table_Users.TagArea('USER_ID'));
except
MessageDlg('Can''t Open the User List file',mtError,[mbOK],0);
Close;
end;
ASKER
The error message is 'Unable to open table: 'j:\paprless\txcdo\claims\ users.dbf' .
This is the correct path to the dbf file.
This is the correct path to the dbf file.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I found the error. I need the appropriate dll, SDECDX61.dll, to use Foxpro files.
Open in new window