[DUG] Problem with IDENT_CURRENT and adoquery delphi 6

Vik Vasudev vikas.image at gmail.com
Tue Aug 24 08:05:45 NZST 2010


Hello everyone,

Good morning,

I am facing a small problem while using ident_current feature using
adoquery.

with AdoAccountQuery do
begin
 close;
sql.clear;
sql.text := '*SELECT IDENT_CURRENT(‘Client_Accountdetail’)*'
open
end;

it gives an access violation in open statement.

I tried this using select max(column name) from table it still gives the
error

how ever when i try select * from table it works fine
I know i may sound dump here but it just not seems to work for me correctly

regards
Vik
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20100824/a16ae6e3/attachment-0001.html 


More information about the Delphi mailing list