<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>18 Aug 2015 17:19:00 Z</lastBuildDate><pubDate>18 Aug 2015 12:03:00 Z</pubDate><description>Hi - Can't figure this out -&#13;
&#13;
sSQL is string = [&#13;
Select&#13;
gpoDB:m_sdContactList_ActiveOrEnrolled.GUIDHFContact,&#13;
gpsdContact.sFirstName,&#13;
gpsdContact.sLastName,&#13;
gpsdContact.nContactSimpleID&#13;
FROM&#13;
gpoDB:m_sdContactList_ActiveOrEnrolled,&#13;
gpsdContact&#13;
WHERE&#13;
gpsdContact.GUIDHFContact = gpoDB:m_sdContactList_ActiveOrEnrolled.GUIDHFContact&#13;
ORDER BY&#13;
gpsdContact.sLastName, gpsdContact.sFirstName&#13;
]&#13;
&#13;
IF NOT HExecuteSQLQuery(gpoDB:m_sdReportSource,sSQL) THEN&#13;
gpoError:CaptureError(HErrorInfo()) // Error while declaring the file, display the error&#13;
END&#13;
&#13;
I keep getting the error - Unexpected Word ","&#13;
&#13;
gpoDB:m_sdContactList_ActiveOrEnrolled is a Data Source initialized earlier.</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot/read.awp</link><title>[WB19] - Help with SQL Statement - unexpected word &amp;quot;,&amp;quot;</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot-53575/read.awp</comments><pubDate>18 Aug 2015 17:19:00 Z</pubDate><description>Hi Joel,&#13;
&#13;
With text sql queries you need to use stringbuild to insert parameters into the query:&#13;
gpsdContact.GUIDHFContact = …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot-53575/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot-53575/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot/read.awp">[WB19] - Help with SQL Statement - unexpected word &amp;quot;,&amp;quot;</source><title>Re: [WB19] - Help with SQL Statement - unexpected word &amp;quot;,&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot-53573/read.awp</comments><pubDate>18 Aug 2015 14:14:00 Z</pubDate><description>Hi Fabrice and thank you. Can't use the Query Editor because there is no analysis in the Project. Analysis is in only 1 project …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot-53573/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot-53573/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot/read.awp">[WB19] - Help with SQL Statement - unexpected word &amp;quot;,&amp;quot;</source><title>Re: [WB19] - Help with SQL Statement - unexpected word &amp;quot;,&amp;quot;</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot-53572/read.awp</comments><pubDate>18 Aug 2015 12:40:00 Z</pubDate><description>Hi Joel&#13;
&#13;
1. if you use the query editor, you won't have this kind of problems, as the syntax will ALWAYS be correct&#13;
&#13;
2. I'm …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot-53572/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot-53572/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/53568-wb19-help-with-sql-statement-unexpected-word-quotquot/read.awp">[WB19] - Help with SQL Statement - unexpected word &amp;quot;,&amp;quot;</source><title>Re: [WB19] - Help with SQL Statement - unexpected word &amp;quot;,&amp;quot;</title></item></channel></rss>
