<?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>Data Connections</title><link>https://www.infopathdev.com:443/forums/44.aspx</link><description> </description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Referencing a stored procedure in my SQL database to fill a text box</title><link>https://www.infopathdev.com:443/forums/thread/29255.aspx</link><pubDate>Mon, 09 Jun 2008 23:03:46 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:29255</guid><dc:creator>DTaylor730</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/29255.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=44&amp;PostID=29255</wfw:commentRss><description>&lt;p&gt;This seems like I should know this but I am stuck. I have VSTA and a InfoPath form with a textbox that needs to be loaded on startup. The database has a stored procedure to take the logged-in user name as a parameter and return multiple lines of the &amp;quot;tblOffice&amp;quot; including things like Office name, Address, Phone and Fax. The users login tells the stored procedure which office to return.&lt;/p&gt;
&lt;p&gt;Can I run a stored procedure on the connected database and if so how do I code it and where is the data returned?&lt;/p&gt;</description></item></channel></rss>