LucieLastic
Programmer
hi
Trying to run a distributed sql query in an TADOQuery. I'm using Delphi 7 and SQL Server 2000. The sql is using OPENROWSET. The query runs perfectly from within Query Analyser but when run from within Delphi I get the following error message:
'Deferred prepare could not be completed'
I have the Prepared property set to TRUE. Does anyone know what's causing this and how I can fix it?
Many thanks in advance,
lou
www.radbmx.co.uk
Trying to run a distributed sql query in an TADOQuery. I'm using Delphi 7 and SQL Server 2000. The sql is using OPENROWSET. The query runs perfectly from within Query Analyser but when run from within Delphi I get the following error message:
'Deferred prepare could not be completed'
I have the Prepared property set to TRUE. Does anyone know what's causing this and how I can fix it?
Many thanks in advance,
lou
www.radbmx.co.uk