| View previous topic :: View next topic |
| Author |
Message |
B.C. Guest
|
Posted: Tue Mar 15, 2005 8:17 am Post subject: Delphi 2005 MSAccess 2000 and BDE error - external exception |
|
|
Hi:
I tried to add a TDabase component with the following settings:
object dbAccess: TDatabase
DatabaseName = 'dbName'
DriverName = 'MSACCESS'
LoginPrompt = False
Params.Strings = (
'DATABASE NAME=data2000.mdb'
'USER NAME=admin'
'OPEN MODE=READ/WRITE'
'LANGDRIVER='
'SYSTEM DATABASE='
'PASSWORD=')
SessionName = 'Default'
Left = 24
Top = 324
end
When I try to set the connected property to true I get External Exception
EEFFACE. I have MS Access 2000.
Do you have any idea why is this error occurring? I did a google search and
quite a few people got this error in the past. Usually people suggested to
upgrade BDE. But don't they distribute the latest version of BDE with delphi
2005?
Thanks
|
|
| Back to top |
|
 |
Mike Shkolnik Guest
|
Posted: Tue Mar 15, 2005 10:44 am Post subject: Re: Delphi 2005 MSAccess 2000 and BDE error - external excep |
|
|
BDE supports the MS Access 95/97 only as I remember
For MS Access 200 use the ADO instead BDE
--
With best regards, Mike Shkolnik
EMail: [email]mshkolnik (AT) scalabium (DOT) com[/email]
http://www.scalabium.com
"B.C." <dont_use_this_address (AT) xyz-abc (DOT) com> wrote
| Quote: | Hi:
I tried to add a TDabase component with the following settings:
object dbAccess: TDatabase
DatabaseName = 'dbName'
DriverName = 'MSACCESS'
LoginPrompt = False
Params.Strings = (
'DATABASE NAME=data2000.mdb'
'USER NAME=admin'
'OPEN MODE=READ/WRITE'
'LANGDRIVER='
'SYSTEM DATABASE='
'PASSWORD=')
SessionName = 'Default'
Left = 24
Top = 324
end
When I try to set the connected property to true I get External Exception
EEFFACE. I have MS Access 2000.
Do you have any idea why is this error occurring? I did a google search
and
quite a few people got this error in the past. Usually people suggested to
upgrade BDE. But don't they distribute the latest version of BDE with
delphi
2005?
Thanks
|
|
|
| Back to top |
|
 |
Brad P Guest
|
Posted: Tue Mar 15, 2005 1:55 pm Post subject: Re: Delphi 2005 MSAccess 2000 and BDE error - external excep |
|
|
Try the 'Microsoft Jet 4.0 OLE DB Provider'. I ran into the same issue and
switching to this solved my Access issues.
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Brad P
'When someone yells, "Hey Geek!", do you turn around?'
"B.C." <dont_use_this_address (AT) xyz-abc (DOT) com> wrote
| Quote: | Hi:
I tried to add a TDabase component with the following settings:
object dbAccess: TDatabase
DatabaseName = 'dbName'
DriverName = 'MSACCESS'
LoginPrompt = False
Params.Strings = (
'DATABASE NAME=data2000.mdb'
'USER NAME=admin'
'OPEN MODE=READ/WRITE'
'LANGDRIVER='
'SYSTEM DATABASE='
'PASSWORD=')
SessionName = 'Default'
Left = 24
Top = 324
end
When I try to set the connected property to true I get External Exception
EEFFACE. I have MS Access 2000.
Do you have any idea why is this error occurring? I did a google search
and
quite a few people got this error in the past. Usually people suggested to
upgrade BDE. But don't they distribute the latest version of BDE with
delphi
2005?
Thanks
|
|
|
| Back to top |
|
 |
|