<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Vik<br>
<br>
just a thought but try giving the column a name as both '<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: 0px; margin:
0px;">SELECT IDENT_CURRENT(‘Client_Accountdetail’)</strong></span>'
and <b>select max(column name) from table </b>would return
un-named columns<br>
<br>
HTH<br>
Neven<br>
<blockquote
cite="mid:AANLkTinhdUgo4yZ1fObvDbFygcMTK9kv5+ce1qB48d2A@mail.gmail.com"
type="cite">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: 0px; margin: 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>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
NZ Borland Developers Group - Delphi mailing list
Post: <a class="moz-txt-link-abbreviated" href="mailto:delphi@delphi.org.nz">delphi@delphi.org.nz</a>
Admin: <a class="moz-txt-link-freetext" href="http://delphi.org.nz/mailman/listinfo/delphi">http://delphi.org.nz/mailman/listinfo/delphi</a>
Unsubscribe: send an email to <a class="moz-txt-link-abbreviated" href="mailto:delphi-request@delphi.org.nz">delphi-request@delphi.org.nz</a> with Subject: unsubscribe</pre>
</blockquote>
<br>
</body>
</html>