Additional
dbCAP
AnyDAC
ThinDAC
NCOCI8
Topic: Problems using D2006 withen v 1.3.0
Problems using D2006 withen v 1.3.0
Posted: 2007/06/04 07:28
 
Hi,
Since switching to version 1.3.0 I get an error 'Missing SQL property' from ADOServer. When debuging I noticed that in the code below, the second part was only performed becouse there is no {$ELSE}
Is this the fix and could the problem exisit on more than this part of code?

Arjan

{$IFDEF ThinDAC_D2006}
if Supports(AInfo.DataSet, IProviderSupport2, oProv2) then begin
oProv2.PSSetCommandText(GenerateSelectSQL(AInfo));
oProv2.PSSetParams(AInfo.Params);
end
else
{$ENDIF}
begin
oProv := IProviderSupport(AInfo.DataSet);
oProv.PSSetCommandText(GenerateSelectSQL(AInfo));
oProv.PSSetParams(AInfo.Params);
end;
Re:Problems using D2006 withen v 1.3.0
Posted: 2007/06/04 09:26
 
Hello

1) What is your Delphi version ?
2) Try to remove {$undef ThinDAC_D2006} at beginning of the daTDServer unit. Then rebuild server application and try again.

Regards,
Dmitry

Post edited by: Diman, at: 2007/06/05 00:18
Re:Problems using D2006 withen v 1.3.0
Posted: 2007/06/05 07:27
 
Hi,
Sorry I forgot to mention am using BDS 2006.
Removing the UNDEF seems to have solved my problems!

Thanks.