<?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: Submitting to Access and using the ADSysInfo Data</title><link>https://www.infopathdev.com:443/forums/thread/2400.aspx</link><pubDate>Thu, 18 May 2006 20:23:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2400</guid><dc:creator>gricks</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2400.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2400</wfw:commentRss><description>That did it - thanks!</description></item><item><title>Re: Submitting to Access and using the ADSysInfo Data</title><link>https://www.infopathdev.com:443/forums/thread/2399.aspx</link><pubDate>Thu, 18 May 2006 14:06:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2399</guid><dc:creator>shailaja</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2399.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2399</wfw:commentRss><description>Hello,&lt;br /&gt;      To add or create text boxes to data source Right click on myFields, click on Add and give the field name. Text field will be added to data source which is not related to any field in Access data base.&lt;br /&gt;&lt;br /&gt;Hope this helps!&lt;br /&gt;</description></item><item><title>Re: Submitting to Access and using the ADSysInfo Data</title><link>https://www.infopathdev.com:443/forums/thread/2398.aspx</link><pubDate>Tue, 16 May 2006 18:11:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2398</guid><dc:creator>gricks</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2398.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2398</wfw:commentRss><description>My real question is this - once you create a connection that will submit to an Access database, how do you create text boxes that are not connected to that data source?&lt;br /&gt;&lt;br /&gt;The data that I get from the ADSysInfo could be brought into that text box -&lt;br /&gt;&lt;br /&gt;Am I missing something?&lt;br /&gt;&lt;br /&gt;Thanks.</description></item><item><title>Submitting to Access and using the ADSysInfo Data</title><link>https://www.infopathdev.com:443/forums/thread/1296.aspx</link><pubDate>Tue, 16 May 2006 15:30:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1296</guid><dc:creator>gricks</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1296.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1296</wfw:commentRss><description>I have the code at the bottom working well with a new form - it is bringing in user email and name perfectly.&lt;br /&gt;&lt;br /&gt;My question is this - how can I combine this code with a form that submits to a MS Access database?  &lt;br /&gt;&lt;br /&gt;I cannot figure out how to put this code into a form that is submitting to Access.  &lt;br /&gt;&lt;br /&gt;I also tried the other way around - I cannot figure out how to start with this code, and then add in the submitting to Access.&lt;br /&gt;&lt;br /&gt;First post here - hopefully I asked the right question!&lt;br /&gt;&lt;br /&gt;Thanks.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Sub XDocument_OnLoad(eventObj)&lt;br /&gt;	Dim objUser&lt;br /&gt;	Set objUser = XDocument.DOM.selectSingleNode("//my:Name")&lt;br /&gt;	&lt;br /&gt;	If objUser.Text = "" Then&lt;br /&gt;		Dim objPhone, objEmail, objEmpID&lt;br /&gt;		&lt;br /&gt;		Set objEmail = XDocument.DOM.selectSingleNode("//my:Email")		&lt;br /&gt;		&lt;br /&gt;		Set objADSysInfo = CreateObject("ADSystemInfo")&lt;br /&gt;		Set objUsr = GetObject("LDAP://" + objADSysInfo.UserName)&lt;br /&gt;		&lt;br /&gt;		objUser.Text = Replace(objUsr.Get("cn"), "&amp;", "+")&lt;br /&gt;		objEmail.Text = objUsr.Get("mail")&lt;br /&gt;		&lt;br /&gt;		&lt;br /&gt;		Set objADSysInfo = null&lt;br /&gt;		Set objUsr = null&lt;br /&gt;	End If&lt;br /&gt;End Sub&lt;br /&gt;</description></item></channel></rss>