<?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>Code</title><link>https://www.infopathdev.com:443/forums/45.aspx</link><description /><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/13238.aspx</link><pubDate>Wed, 08 Feb 2006 09:04:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13238</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13238.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13238</wfw:commentRss><description>"toLowerCase()" of javascript will convert all uppercase letters to lowercase.&lt;br /&gt;&lt;br /&gt;Agni&lt;br /&gt;InfoPath Dev India</description></item><item><title>Re: Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/13237.aspx</link><pubDate>Wed, 08 Feb 2006 03:14:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13237</guid><dc:creator>hollis</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13237.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13237</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;In managed code you would be able to do: objWscript.UserName.ToLower();&lt;br /&gt;&lt;br /&gt;Is there no similar method in script???</description></item><item><title>Re: Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/13236.aspx</link><pubDate>Tue, 07 Feb 2006 16:15:01 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13236</guid><dc:creator>BrownR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13236.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13236</wfw:commentRss><description>Correct, it was giving the error when i tried the form in design mode, but worked without a flaw in realtime.</description></item><item><title>Re: Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/13235.aspx</link><pubDate>Fri, 03 Feb 2006 17:53:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13235</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13235.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13235</wfw:commentRss><description>So this was failing in design mode when objWscript.UserName is null?&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPath Dev India</description></item><item><title>Re: Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/13234.aspx</link><pubDate>Thu, 02 Feb 2006 18:39:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13234</guid><dc:creator>BrownR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13234.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13234</wfw:commentRss><description>Ok the "error" i was getting only happened in design mode. It works just fine in realtime run mode. From what i have read , the error, i was getting happens when it expects a value. And of course in design mode there is no value.</description></item><item><title>Re: Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/13233.aspx</link><pubDate>Tue, 24 Jan 2006 21:06:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13233</guid><dc:creator>BrownR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13233.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13233</wfw:commentRss><description>Shanthi,&lt;br /&gt;         Thank you so much for your reply. I've been able to get back to thi issue, and maybe time has helped, but i compltlly understand what your telling me what to do. But when i add that to my "On-Load" function , i get an error. "Object expected" is the error and does not work. Any idea?</description></item><item><title>Re: Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/13232.aspx</link><pubDate>Thu, 16 Jun 2005 23:18:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13232</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13232.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13232</wfw:commentRss><description>What that will do it will take the value of objWscript.UserName and convert all the characters to lower case.&lt;br /&gt;&lt;br /&gt;What you can do to test this. Design a new form which has a textbox and an expression box. Now set the value of the expession box by using translate function on the textbox. Now even if you enter capital letters in the textbox it will show the same letters in lower case in the expression box.&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>Re: Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/13231.aspx</link><pubDate>Thu, 16 Jun 2005 15:53:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13231</guid><dc:creator>BrownR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13231.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13231</wfw:commentRss><description>Im a little lost, I understand what translate does but how will it make the translation that i need? Could you give me a little bit of detail on what this part does? &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;(objWscript.UserName, "QWERTYUIOPLKJHGFDSAZXCVBNM", "qwertyuioplkjhgfdsazxcvbnm");&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;Thank you so much for helping me out.&lt;br /&gt;</description></item><item><title>Re: Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/13230.aspx</link><pubDate>Sun, 12 Jun 2005 11:32:26 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:13230</guid><dc:creator>Shanthi Reddy</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/13230.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=13230</wfw:commentRss><description>Hello &lt;br /&gt;  You can use the translate function to solve your issue. The line above will look like this&lt;br /&gt;&lt;br /&gt;XDocument.DOM.selectSingleNode("//dfs:myFields/dfs:dataFields/d:ReportInfo/@Login").text= translate(objWscript.UserName, "QWERTYUIOPLKJHGFDSAZXCVBNM", "qwertyuioplkjhgfdsazxcvbnm");&lt;br /&gt;&lt;br /&gt;Shanthi&lt;br /&gt;InfoPathDev India</description></item><item><title>Tolower case</title><link>https://www.infopathdev.com:443/forums/thread/12458.aspx</link><pubDate>Mon, 06 Jun 2005 15:24:18 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:12458</guid><dc:creator>BrownR</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/12458.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=45&amp;PostID=12458</wfw:commentRss><description>i have this string to pull the current user name into a field in my load code.&lt;br /&gt;&lt;br /&gt;		XDocument.DOM.selectSingleNode("//dfs:myFields/dfs:dataFields/d:ReportInfo/@Login").text= objWscript.UserName;&lt;br /&gt;&lt;br /&gt;BUT i need it to go into my SQL database as all lower case. Right now if they log in in upppercase it causes some issues in my database. Any idea on this?</description></item></channel></rss>