<?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: Accessing an Access DB</title><link>https://www.infopathdev.com:443/forums/thread/2291.aspx</link><pubDate>Thu, 04 May 2006 09:51:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2291</guid><dc:creator>Taffman</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2291.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2291</wfw:commentRss><description>Hears a real dumb question, but I'll ask it anyway. I totally understand how to create a secondary XML data source and it works well for me locally.&lt;br /&gt;&lt;br /&gt;When I get round to publishing by form on sharepoint, are the secondary datasources added to my form embedded in the form and therefore will move with the form when I publish, or co I have to copy these datasources seperatly to the sharepoint (or other)location.&lt;br /&gt;&lt;br /&gt;Second dumb question, if the secondary data source is an Access Database, is this type of datasource also embedded in the form as per XML or should this be moved seperatly?</description></item><item><title>Re: Accessing an Access DB</title><link>https://www.infopathdev.com:443/forums/thread/2290.aspx</link><pubDate>Mon, 01 May 2006 19:04:22 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2290</guid><dc:creator>Jerry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2290.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2290</wfw:commentRss><description>Matt....  when I enter the following code, per your example, I get an error message which says... "Object required".  There must be something wrong with the code?  Line 24... where it starts out as "oQueryID.text = eventObj.Source.selectSingleNode...&lt;br /&gt;&lt;br /&gt;// The following function handler is created by Microsoft Office InfoPath.&lt;br /&gt;// Do not modify the name of the function, or the name and number of arguments.&lt;br /&gt;//=======&lt;br /&gt;function btnViewDetail::OnClick(eventObj){var oQueryId = XDocument.DOM.selectSingleNode&lt;br /&gt;	("/dfs:myFields/dfs:queryFields/q:Customers/@CustomerID" );&lt;br /&gt;	oQueryId.text = eventObj.Source.selectSingleNode("@CustomerID").text;&lt;br /&gt;	XDocument.Query();&lt;br /&gt;	XDocument.View.SwitchView("Detail");}</description></item><item><title>Re: Accessing an Access DB</title><link>https://www.infopathdev.com:443/forums/thread/2289.aspx</link><pubDate>Thu, 27 Apr 2006 21:39:24 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2289</guid><dc:creator>Jerry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2289.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2289</wfw:commentRss><description>Matt... in your tutorial...  in the section where you said to "Add code behind the View Detail button", I apparently are not performing Step 3 correctly.  That's where I am to replace the contents of the&lt;br /&gt;OnClick event handler with your code.  Currently the template reads as&lt;br /&gt;"function btnViewDetail::OnClick(eventObj)&lt;br /&gt;{&lt;br /&gt;   // Write your code here&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;What do I need to remove?  Do I insert your code you suggested into the area where it says "// Write your code here"?&lt;br /&gt;</description></item><item><title>Re: Accessing an Access DB</title><link>https://www.infopathdev.com:443/forums/thread/2288.aspx</link><pubDate>Thu, 27 Apr 2006 18:11:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2288</guid><dc:creator>Jerry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2288.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2288</wfw:commentRss><description>Thanks SO MUCH guys.... I'll check it out.   :-)</description></item><item><title>Re: Accessing an Access DB</title><link>https://www.infopathdev.com:443/forums/thread/2287.aspx</link><pubDate>Thu, 27 Apr 2006 17:32:35 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2287</guid><dc:creator>Matt Faus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2287.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2287</wfw:commentRss><description>Hi Jerry,&lt;br /&gt;&lt;br /&gt;Check out this tutorial&lt;a target="_blank" href=http://infopathdev.com/howto/tutorials/default.aspx?i=0bb37b4de44348408680a53a449f2353&gt;http://infopathdev.com/howto/tutorials/default.aspx?i=0bb37b4de44348408680a53a449f2353&lt;/a&gt; , especially the instructions under "Add a supplementary data connection to the same database"</description></item><item><title>Re: Accessing an Access DB</title><link>https://www.infopathdev.com:443/forums/thread/2286.aspx</link><pubDate>Thu, 27 Apr 2006 17:29:16 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:2286</guid><dc:creator>Ted Fitch</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/2286.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=2286</wfw:commentRss><description>Hi Jerry,&lt;br /&gt;&lt;br /&gt;You can use a secondary data source (your Access DB located on a different shared server) to do this.&lt;br /&gt;&lt;br /&gt;Here is a really good how-to that Matt Faus wrote that I think should point you in the right direction:&lt;br /&gt;&lt;br /&gt;&lt;a href='http://infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85' target='_blank' title='http://infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85'&lt;a target="_blank" href=http://infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85&gt;http://infopathdev.com/howto/tutorials/default.aspx?i=9111ef580f95479890fc18fb2c5bac85&lt;/a&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Good luck!&lt;br /&gt;&lt;br /&gt;Ted&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Accessing an Access DB</title><link>https://www.infopathdev.com:443/forums/thread/1268.aspx</link><pubDate>Thu, 27 Apr 2006 14:44:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:1268</guid><dc:creator>Jerry</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/1268.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=1268</wfw:commentRss><description>Please forgive me if the answer to my question has already been answered, but I could not find the answer, so here goes:&lt;br /&gt;&lt;br /&gt;I created a nice Purchase Order form using InfoPath, and placed it on our Sharepoint site.  I now need to access an Access DB, located on another shared server.  The data in the Access DB is for budgeting purposes, the Purchase Orders are cut against say 100 Budget items, containing some data I want to be able download into some fields in my form.  When I connect to the Access DB, I would want all of the 100 Budget items to be listed, then be able to select the one I want by clicking on the item and have the data in that item populate 5 Read Only fields in my form.  For example, the Access DB would look something like this:&lt;br /&gt; Budget PO#, Activity #, Category, Budget Amt, Avail Bal&lt;br /&gt; 14700069999,   001,       EQOFF,   1500.00,     750.00&lt;br /&gt; 14700063621,   001,       EQOFF,   3000.00     3000.00&lt;br /&gt; 14700067895,   001,       EQOFF,   2000.00        0.00  &lt;br /&gt;&lt;br /&gt;Can someone point me in the right direction to figure out how to do this?  I don't care about updating the DB, just to see all the items in it, select the applicable Budget PO#, and download the data in that PO into my InfoPath form.  &lt;br /&gt;</description></item></channel></rss>