<?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: Concatenating fields from a Database</title><link>https://www.infopathdev.com:443/forums/thread/32581.aspx</link><pubDate>Fri, 26 Sep 2008 21:35:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32581</guid><dc:creator>dbaldacchino</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32581.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32581</wfw:commentRss><description>&lt;p&gt;I think I figured it out.&lt;/p&gt;
&lt;p&gt;I typed a piece of text and right-clicked on it and selected &amp;quot;Hyperlink&amp;quot;. In the General tab, under &amp;quot;Link To; Data Source:&amp;quot;, I used the &amp;quot;concat&amp;quot; function to stitch the fields together:&lt;/p&gt;
&lt;p&gt;concat(d:t_Subfolders/d:t_Discplines/@&lt;strong&gt;Network_path&lt;/strong&gt;,d:t_Subfolders/@&lt;strong&gt;Subfolder&lt;/strong&gt;, @&lt;strong&gt;FileName&lt;/strong&gt;)&lt;/p&gt;
&lt;p&gt;The fields in bold correspond to the fields in my first post (fields are case-sensitive, so be very careful when typing in the expression). I used this same expression for the&amp;nbsp;&amp;quot;Display&amp;quot; information. The text now changed into some sort of &amp;quot;control&amp;quot;, kinda like a text box, so then I cut and pasted it in my repeating table. When I run the query, now I get clickable hyperlinks that open the files.&lt;/p&gt;</description></item><item><title>Concatenating fields from a Database</title><link>https://www.infopathdev.com:443/forums/thread/32579.aspx</link><pubDate>Fri, 26 Sep 2008 19:50:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:32579</guid><dc:creator>dbaldacchino</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/32579.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=39&amp;PostID=32579</wfw:commentRss><description>&lt;p&gt;Hi, I have 3 fields in&amp;nbsp;3 separate&amp;nbsp;database tables: &amp;quot;Path&amp;quot;, &amp;quot;Subfolder&amp;quot; and &amp;quot;Filename&amp;quot;. The file path was broken down this way in order to manage changes easily down the line (servername changes, etc).&lt;/p&gt;
&lt;p&gt;I am trying to set up a form to query this Access database. I&amp;#39;m new&amp;nbsp;to Infopath, but so far I have been able to create the data sources and filtered controls and the query is working correctly. In the database I don&amp;#39;t have a field containing the full path to a file, so my question is: how can I concatenate the above three fields into an Infopath control (or other method) so the user can click the resulting concatenated &amp;quot;URL&amp;quot; field&amp;nbsp;on the form to open the file/s returned by the query? Thanks!&lt;/p&gt;</description></item></channel></rss>