Updating TQuery to TADOQuery

Angus Macdonald <[email protected]>
Newsgroups gmane.comp.lang.delphi.programming
Message-ID <8281693F9EF2B140AA145EE9BE4675A60418386F@nwwmail1.nww-tr.wales.nhs.uk>
I'm updating some older code to replace the BDE with ADO and am having a few
TADOQuery problems.
First  and foremost, what is the ADO equivalent of

varname:=Query1.FieldByName('name').text;

It should be simple but the ADO help in D5 is a bit obtuse for me.
Regards
Angus

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for Your HP, Epson, Canon or Lexmark
Printer at Myinks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/sOykFB/k9VGAA/ySSFAA/i7folB/TM
---------------------------------------------------------------------~->

CodeCoffer - new Delphi code protection Tool!
http://www.delphicollection.com/public/CodeCoffer.htm
---------------------------------------------------------------
Unsubscribe:[email protected]
List owner:[email protected]
--------------------------------------------------------------- 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.