> ..WOULD work. You are attempting to parameterise the field 
> names themselves
> which is, as I understand it, a no-no.

In effect that is what I was doing, however my intention was to add a
constant in to the select statement.

I wanted 

select :param, field
from table

to be the same as

select "bob", field
from table

Alas, this is not the way it works.

So far I can't do this, and have to build the query on the fly. No worried.
I managed reduce the time the process took by 40% by correcting other areas.

Stacey
---------------------------------------------------------------------------
    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"

Reply via email to