<?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: Padding text box issue</title><link>https://www.infopathdev.com:443/forums/thread/24889.aspx</link><pubDate>Tue, 04 Dec 2007 15:34:04 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24889</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24889.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24889</wfw:commentRss><description>&lt;p&gt;GOT IT!&lt;/p&gt;
&lt;p&gt;It was my condition, I was matching the pattern of 3 alphas....when I changed it to match on any 3 characters, it worked. I realized it when I sent my last posting, Thank you so so much for helping me work thru this.....I gotta say, I learned alot,. Your help was immeasurable.&lt;/p&gt;
&lt;p&gt;Now, my question, is where does one find examples like this. I dont see it in any book. With Access VB, SQL there are examples that one can learn from...I am finding the desert bare when it comes to Infopath examples. These rules are quite powerful....&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;AGAIN THANK YOU FOR YOUR HELP.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Padding text box issue</title><link>https://www.infopathdev.com:443/forums/thread/24884.aspx</link><pubDate>Tue, 04 Dec 2007 14:23:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24884</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24884.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24884</wfw:commentRss><description>&lt;p&gt;Almost there!!!!!&lt;/p&gt;
&lt;p&gt;Clay, your last idea worked!!!! Any account that contains 3 alpha characters or 4 alpha characters only finally worked. There is one instance where the rule(s) don&amp;#39;t work....We have some accountID&amp;#39;s that are in the form ....JA1, E7T, H53, 131 ... Basically on the three character accountID&amp;#39;s that contain a numeric, that the lookup&amp;#39;s don&amp;#39;t work.....Thats really strange...&amp;nbsp;We don&amp;#39;t have any AccountID&amp;#39;s of the length 4 containing atleast 1 numeric character, but the 5 position accountID&amp;#39;s containing a number ....it works fine. &lt;/p&gt;
&lt;p&gt;So, does this make sense, and why would Infopath work this way????? --- could it by my condition, I am looking for 3 alpha&amp;#39;s....&lt;/p&gt;</description></item><item><title>Re: Padding text box issue</title><link>https://www.infopathdev.com:443/forums/thread/24865.aspx</link><pubDate>Mon, 03 Dec 2007 20:56:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24865</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24865.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24865</wfw:commentRss><description>&lt;p&gt;I thought of a better idea.&lt;/p&gt;
&lt;p&gt;Have a rule on your accountnumber field that they enter into which sets itself with the space padding.&lt;/p&gt;
&lt;p&gt;Then have a rule afterwards which does the lookup for the account name.&lt;/p&gt;
&lt;p&gt;Same result but simpler.&lt;/p&gt;
&lt;p&gt;SO pad first then do the comparison, if adding the spaces manually always works then this should fix.&lt;/p&gt;</description></item><item><title>Re: Padding text box issue</title><link>https://www.infopathdev.com:443/forums/thread/24863.aspx</link><pubDate>Mon, 03 Dec 2007 20:49:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24863</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24863.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24863</wfw:commentRss><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;We originally had it working in a drop down. The problem is that drop down contains 20,000 accounts. Therefore the users would have to press &amp;quot;N&amp;quot; to get to the first N record -- but would still have to navigate to the record. We felt it would be easier to simply enter it. The lookup works perfectly when the value entered is 5 characters long (same size as the underlying table field). &lt;/p&gt;
&lt;p&gt;If they have an account ID that is 3 characters long, it will work ONLY if the enter the space bar 2 times....and 1 time after entering a 4 chararacter value. &lt;/p&gt;
&lt;p&gt;I will try your adjusted number idea.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;Ed&lt;/p&gt;</description></item><item><title>Re: Padding text box issue</title><link>https://www.infopathdev.com:443/forums/thread/24861.aspx</link><pubDate>Mon, 03 Dec 2007 20:36:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24861</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24861.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24861</wfw:commentRss><description>&lt;p&gt;OK How would I do it....&lt;/p&gt;
&lt;p&gt;I would move it to SQL&lt;/p&gt;
&lt;p&gt;I would create an actual account numbering scheme&lt;/p&gt;
&lt;p&gt;Along those lines I had a thought.&lt;/p&gt;
&lt;p&gt;Why don&amp;#39;t you use a drop down with the account name?&amp;nbsp; You can enter a letter or number to jump to that part of the list.&amp;nbsp; That may be easier?&lt;/p&gt;
&lt;p&gt;Another Idea would be to use a list box or drop down.&lt;/p&gt;
&lt;p&gt;Have a field for the user to enter&lt;/p&gt;
&lt;p&gt;Then have a list box control.&lt;/p&gt;
&lt;p&gt;Set it up to show all values which start with what the user entered.&amp;nbsp; Since you have the space problem it might be easier to use the starts with instead of equal.&amp;nbsp; I am not sure how many permutations you have such as AB1 and AB1B2 but I am guessing it should not be too many.&lt;/p&gt;
&lt;p&gt;I thought you had it working for some values. Another option is add another field to your form (adjustedNumber) which you set with the concatenation to pad the spaces and then you is in your comparison. [RelmID = adjustedNumber]&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Padding text box issue</title><link>https://www.infopathdev.com:443/forums/thread/24859.aspx</link><pubDate>Mon, 03 Dec 2007 19:33:30 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:24859</guid><dc:creator>Ed Rodman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/24859.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=24859</wfw:commentRss><description>&lt;p&gt;Clay,&lt;/p&gt;
&lt;p&gt;Regarding my padding issue...If I use the following code as my &lt;a title="mailto:filter....@RELM_NME[concat(txt_RelmNumber" href="mailto:filter....@RELM_NME[concat(txt_RelmNumber"&gt;filter....@RELM_NME[concat(txt_RelmNumber&lt;/a&gt;, &amp;quot;&amp;nbsp; &amp;quot;)] I get the first value of the recordset. If I change it to @RELM_NME[concat(txt_RelmNumber, &amp;quot;&amp;nbsp; &amp;quot;)= @RELM_ID]&amp;nbsp;&amp;nbsp; it returns nothing. Can you see what I am missing?&lt;/p&gt;
&lt;p&gt;I know the condition is working,&amp;nbsp;so I&amp;nbsp;know control is getting into the routine. If I use&amp;nbsp;&amp;nbsp;&lt;u&gt;&lt;font color="#0000ff"&gt;....@RELM_NME[concat(txt_RelmNumber&lt;/font&gt;&lt;/u&gt;, &amp;quot;&amp;nbsp; &amp;quot;) .. It returns the first account name of the first record in the query,,,,otherwise it returns nothing. If you were writing it yourself how would you code it?&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;ed&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks Ed&lt;/p&gt;</description></item></channel></rss>