<?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: Need To ID the Form name</title><link>https://www.infopathdev.com:443/forums/thread/3357.aspx</link><pubDate>Tue, 24 Oct 2006 18:20:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3357</guid><dc:creator>Bill </dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3357.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3357</wfw:commentRss><description>Thanks!!</description></item><item><title>Re: Need To ID the Form name</title><link>https://www.infopathdev.com:443/forums/thread/3356.aspx</link><pubDate>Tue, 24 Oct 2006 18:19:59 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3356</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3356.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3356</wfw:commentRss><description>No you need to get it by string manipulations. Like getting the string after the last "/"</description></item><item><title>Re: Need To ID the Form name</title><link>https://www.infopathdev.com:443/forums/thread/3355.aspx</link><pubDate>Tue, 24 Oct 2006 18:12:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3355</guid><dc:creator>Bill </dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3355.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3355</wfw:commentRss><description>Agni,&lt;br /&gt;&lt;br /&gt;Do you know the actual name?&lt;br /&gt;&lt;br /&gt;thisxdocument.URI.xxxxxx&lt;br /&gt;&lt;br /&gt;Thanks!</description></item><item><title>Re: Need To ID the Form name</title><link>https://www.infopathdev.com:443/forums/thread/3354.aspx</link><pubDate>Tue, 24 Oct 2006 18:09:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:3354</guid><dc:creator>Agni Jonnalagadda</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/3354.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=3354</wfw:commentRss><description>I dint get what you are trying to do here but &lt;br /&gt;thisXDocument.DOM.baseName will always be null.&lt;br /&gt;"baseName" defines the nodename without namespace prefix.&lt;br /&gt;&lt;br /&gt;If you are looking for the filename then you need to look in &lt;br /&gt;thisXDocument.URI; &lt;br /&gt;</description></item><item><title>Need To ID the Form name</title><link>https://www.infopathdev.com:443/forums/thread/1624.aspx</link><pubDate>Tue, 24 Oct 2006 17:13:37 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1624</guid><dc:creator>Bill </dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1624.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1624</wfw:commentRss><description>Hello,&lt;br /&gt;&lt;br /&gt;I am attenmpting to see if when a form is opened if its name is Form 1.  If it is, I want to set some form variables from the On Load event.&lt;br /&gt;&lt;br /&gt;I can not identify the object container that holds the name of the opened info path form.  I tried the following but it does nothing:&lt;br /&gt;&lt;br /&gt;If thisXDocument.DOM.baseName.Equals("Form 1")Then&lt;br /&gt;  --set some form variables&lt;br /&gt;End If&lt;br /&gt;&lt;br /&gt;Any help would be appreciated.&lt;br /&gt;&lt;br /&gt;Thanks &lt;br /&gt;&lt;br /&gt;Bill&lt;br /&gt;</description></item></channel></rss>