> Hi,
>
> I have a variable containing a list of fields I need to use in a SQL SELECT statement (comma separated list).
> The lenght of this variable can be quite long, as there can be many fields, with long fieldnames. I tried for example:
>
>
SELECT ( m.lcFieldList ) from MAIN_CURSOR INTO CURSOR TEMP_CURSOR READWRITE
>
> This will create TEMP_CURSOR with a single field, containing the content of the variable, and that is not what I need of course.
>
> What is the right syntaxis for a query using a field list?
>
> Regards, Gerrit
>
>
Today is only yesterday's tommorrow - Uriah HeepTry with macrosubstitution, I mean SELECT ( &lcFieldList )
Respectfully
http://praisachion.blogspot.ro/