ArjanNoordhoek
User
 Junior Boarder
| Posts: 12 |   | Karma: 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;
|
|