Hello everyone,<div><br></div><div>Good morning,</div><div><br></div><div>I am facing a small problem while using ident_current feature using adoquery.</div><div><br></div><div>with AdoAccountQuery do</div><div>begin</div>
<div> close;</div><div>sql.clear;</div><div>sql.text := '<span class="Apple-style-span" style="font-family: verdana, tahoma, arial, sans-serif; font-size: 12px; color: rgb(51, 51, 51); line-height: 19px; "><strong style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; ">SELECT IDENT_CURRENT(‘Client_Accountdetail’)</strong></span>'</div>
<div>open</div><div>end;<br clear="all"><br></div><div>it gives an access violation in open statement.</div><div><br></div><div>I tried this using select max(column name) from table it still gives the error</div><div><br>
</div><div>how ever when i try select * from table it works fine</div><div>I know i may sound dump here but it just not seems to work for me correctly</div><div><br></div><div>regards</div><div>Vik<br>-- <br><br>
</div>