EDatabase Error with ADO Query
From: Kimberly Mills (kimmills_at_indiana.edu)
Date: 10/25/04
- Next message: Brian Bushay TeamB: "Re: EDatabase Error with ADO Query"
- Previous message: Todd Super Bassist: "Re: Still having a problem with MS SQL and NT Service"
- Next in thread: Brian Bushay TeamB: "Re: EDatabase Error with ADO Query"
- Reply: Brian Bushay TeamB: "Re: EDatabase Error with ADO Query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Mon, 25 Oct 2004 15:42:15 -0500
I used an ADO query to access a table of values in an Access 2000 database.
I continue to get 'EDatabase Error.... field not found.' I then replaced the
query with a table and continue to get the same error. I have set the Active
to true in the object inspector, but somewhere along the way it becomes
inactive....
Here is my code......
function TCommonDataModule.AchieveDeadline(appdate: TDateTime): string;
var a : string;
begin
if AwardSpecTable.Active then a := 'y';
if appdate <= AwardSpecTable.FieldByName('ACHIEVE_DEADLINE').AsDateTime
then Result := 'y';
end;
I put the test in there to see if it remained active when invoking this
function, it is not.
The fields from the database are used in several functions and procedures
prior to this call.
Any ideas? If you need more information, please let me know. I am starting
to get a headache from banging my head against the wall with this one.
Kim Mills
- Next message: Brian Bushay TeamB: "Re: EDatabase Error with ADO Query"
- Previous message: Todd Super Bassist: "Re: Still having a problem with MS SQL and NT Service"
- Next in thread: Brian Bushay TeamB: "Re: EDatabase Error with ADO Query"
- Reply: Brian Bushay TeamB: "Re: EDatabase Error with ADO Query"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|