Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Pascal Delphi Databases > TQuery for nVar...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 935 of 986
Post > Topic >>

TQuery for nVarChar (Bug)?

by "Rahul" <w.rahul@[EMAIL PROTECTED] > Sep 12, 2006 at 05:55 AM

Hello Firends,

    I am using a TQuery object to read from the database in which one
column is a nVarChar. The Query is firing well and i Couldn't fetch the
nVarChar field, if i use
VarToWideStr(Query1.FieldByName('nVarCharField').AsVariant). The
application is giving access violation. If i access the Database object
of the Query1, i could find the nVarCharField column in the fieldlist.
But, Database object doesn't provide a means to access the Field.
Please help me on this as the application which i m developing is for
Multilingual Sup****t. I have used ADOQuery and it worked well. But,
****fting the entire project to ADO is a mess.

    I am using professional edition of delphi6. When i tested the same
on Enterprise edition of delphi6, it worked well without any problems.
Is this a bug in delphi 6 professional or TQuery won't sup****t nVarChar
in professional edition? Thanks in advance.

Thanks and Regards,

Rahul.W
Software Engineer,
3i-Infotech, India
 




 2 Posts in Topic:
TQuery for nVarChar (Bug)?
"Rahul" <w.r  2006-09-12 05:55:57 
Re: TQuery for nVarChar (Bug)?
"Mike Shkolnik"  2006-09-12 22:51:14 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 23 16:15:18 CDT 2008.