<?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>Newbie Questions</title><link>https://www.infopathdev.com:443/forums/39.aspx</link><description>New to InfoPath? Search to see if your question has already been answered. If it has not, then ask it here or the appropriate topic forum.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Trying to concatenate the spaces for field lookup</title><link>https://www.infopathdev.com:443/forums/thread/24734.aspx</link><pubDate>Tue, 27 Nov 2007 21:49:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24734</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24734.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24734</wfw:commentRss><description>&lt;p&gt;I think for what you have the condition should be txt_RelmNumber &lt;u&gt;matches&lt;/u&gt; AAAA that way you get the particular scenario you want.&amp;nbsp; With not AAAAA you get everything from 1 character to 4.&lt;/p&gt;
&lt;p&gt;For that you would append one space.&lt;/p&gt;
&lt;p&gt;You would need a = AAA and append two spaces and so on.&lt;/p&gt;</description></item><item><title>Trying to concatenate the spaces for field lookup</title><link>https://www.infopathdev.com:443/forums/thread/24730.aspx</link><pubDate>Tue, 27 Nov 2007 19:58:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24730</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24730.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24730</wfw:commentRss><description>&lt;p&gt;Clay,&lt;/p&gt;
&lt;p&gt;The condition for my rule is...txt_RelmNumber (text box field) does not match custom pattern: AAAAA&lt;/p&gt;
&lt;p&gt;The action is....txt_RelmName = @RELM_ID[concat(txt_RelmNumber, &amp;quot;&amp;nbsp; &amp;quot;)= @RELM_ID]&lt;/p&gt;
&lt;p&gt;Where....txt_RelmName is the value that the rule set&amp;#39;s (on the form)&amp;nbsp;&amp;nbsp; @RELM_ID and @RELM_NME are values from the underlying query, and txt_RelmNumber is the value that the user enters into the textbox.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Does this make sense?&amp;nbsp; Thanks Ed&lt;/p&gt;</description></item></channel></rss>