<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Web Services</title><link>https://www.infopathdev.com:443/forums/48.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Referencing InfoPath schema inside data connection</title><link>https://www.infopathdev.com:443/forums/thread/17961.aspx</link><pubDate>Tue, 27 Feb 2007 18:09:51 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17961</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17961.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17961</wfw:commentRss><description>You will probably need to do this with code or rules... Set the query field before querying.</description></item><item><title>Referencing InfoPath schema inside data connection</title><link>https://www.infopathdev.com:443/forums/thread/17583.aspx</link><pubDate>Thu, 22 Feb 2007 19:38:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:17583</guid><dc:creator>dgibson5531</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/17583.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=48&amp;PostID=17583</wfw:commentRss><description>How do you reference an InfoPath schema field in an InfoPath data connection SQL select statement ?   Can't seem to get the correct syntax.&lt;br /&gt;&lt;br /&gt;Here's an example :  Would like for the 'u799976' to be an Infopath schema variable.&lt;br /&gt;&lt;br /&gt;shape&lt;br /&gt;	{select "CostCenterNumber","RoleID","UserID" from "dbo"."Users" WHERE "UserID" = 'u799976'} as "Users"&lt;br /&gt;	append&lt;br /&gt;		({select "RoleID","RoleTitle" from "dbo"."Role" as "Role"}&lt;br /&gt;			relate "RoleID" TO "RoleID") as "Role"</description></item></channel></rss>