Pretty simple issue here...

This works:

<cfscript>
    myquery = instance.transfer.createQuery("from
maglinkprefs.maglinkpref as maglinkpref join mags.mag");
    queryResult = instance.transfer.listByQuery(myquery);
</cfscript>


This doesn't:

<cfsavecontent variable="querytql">from maglinkprefs.maglinkpref as
maglinkpref join mags.mag</cfsavecontent>
<cfscript>
    myquery = instance.transfer.createQuery(querytql);
    queryResult = instance.transfer.listByQuery(myquery);
</cfscript>

I receive this error:

Application Execution Exception
Error Type: transfer.TQLSyntaxException : [N/A]
Error Messages: TQL syntax error at line 0, character -1, near ''
no viable alternative at input '' for TQL:

Any ideas?
--~--~---------~--~----~------------~-------~--~----~
Before posting questions to the group please read:
http://groups.google.com/group/transfer-dev/web/how-to-ask-support-questions-on-transfer

You received this message because you are subscribed to the Google Groups 
"transfer-dev" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/transfer-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to