Thank you Nello
> I'd guess you have one or more TField objects associated
> with the query that are there at design time (and saved
> in the DFM file and recreated at runtime) but you're not
> creating them when you do it on the fly.
It's what I thought was going on. But, at design time the query works even
if I do not add its fields through the field editor. That's probably what
confused me most. Thanks again
Sergei.
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED]
with body of "unsubscribe delphi"