<?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>SQL Database Integration</title><link>https://www.infopathdev.com:443/forums/47.aspx</link><description>For questions concerning issues in the integration of SQL and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Date Issue</title><link>https://www.infopathdev.com:443/forums/thread/27289.aspx</link><pubDate>Tue, 18 Mar 2008 15:54:31 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27289</guid><dc:creator>requ13mIRL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27289.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=27289</wfw:commentRss><description>&lt;p&gt;Used the current() formula to solve the problem thanks clay....it took a while but i got there&lt;/p&gt;</description></item><item><title>Re: Date Issue</title><link>https://www.infopathdev.com:443/forums/thread/27223.aspx</link><pubDate>Fri, 14 Mar 2008 18:20:41 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27223</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27223.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=27223</wfw:commentRss><description>&lt;p&gt;I am not sure your layout but typically you would use filter to get the date values from a particular row or the current() function to reference the current row.&lt;/p&gt;
&lt;p&gt;It is probably one of these two.&lt;/p&gt;
&lt;p&gt;If you need specific, live&amp;nbsp;help you can purchase&amp;nbsp;support credits here. &lt;a href="http://www.qdabra.com/products_all.asp?cat=12"&gt;http://www.qdabra.com/products_all.asp?cat=12&lt;/a&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Date Issue</title><link>https://www.infopathdev.com:443/forums/thread/27220.aspx</link><pubDate>Fri, 14 Mar 2008 17:21:28 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27220</guid><dc:creator>requ13mIRL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27220.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=27220</wfw:commentRss><description>&lt;p&gt;yeah i have a rule in place that when you select the date from the date picker it populates the fields but i need this for every row of the repeating table however i need individual numbers in every row&lt;/p&gt;
&lt;p&gt;so for e.g if they select 03/13/2008 it fills the field with qtr = 1 week =3 fiscal year =2008&lt;/p&gt;
&lt;p&gt;then when i insert the next row if they select say 09/12/2008 the qtr = 3 week = 2 fiscal year =2009&lt;/p&gt;
&lt;p&gt;but sadly it populates it with the first row results. is this not possible using rules?&lt;/p&gt;</description></item><item><title>Re: Date Issue</title><link>https://www.infopathdev.com:443/forums/thread/27218.aspx</link><pubDate>Fri, 14 Mar 2008 16:44:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27218</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27218.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=27218</wfw:commentRss><description>&lt;p&gt;That was the other option, conform SQL to the format you need.&amp;nbsp; Often other people are using the SQL data already and that luxury of changing&amp;nbsp;SQL columns&amp;nbsp;is harder to come by.&lt;/p&gt;
&lt;p&gt;It sounds like you either have a default setup or a rule that is populating these date fields.&lt;/p&gt;
&lt;p&gt;Check the properties on the repeating table and check the defaults and any rules.&lt;/p&gt;</description></item><item><title>Re: Date Issue</title><link>https://www.infopathdev.com:443/forums/thread/27217.aspx</link><pubDate>Fri, 14 Mar 2008 16:34:11 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27217</guid><dc:creator>requ13mIRL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27217.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=27217</wfw:commentRss><description>&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for that Clay but got things sorted by doing the following.&lt;/p&gt;
&lt;p&gt;I used the SQL CONVERT function to change the datetime format of the date in the Fiscal database in EDIT SQL on the connections wizard. I converted using the following&lt;/p&gt;
&lt;p&gt;CONVERT(varchar(10), Perioddate, 120) this converted the date from 14/03/2008 00:00:00&amp;nbsp;to 2008-03-14 and i was able to query the data and populate the necessary fields.&lt;/p&gt;
&lt;p&gt;I have run into some difficulty though cause when i select the date from the picker it populates the fields. Then when i select to create a new row in the repeating table it allows me to select a different date but puts the same values as the one above like its a duplicate field. I don&amp;#39;t know how exactly to get around this. Any ideas?&lt;/p&gt;
&lt;p&gt;req&lt;/p&gt;</description></item><item><title>Re: Date Issue</title><link>https://www.infopathdev.com:443/forums/thread/27211.aspx</link><pubDate>Fri, 14 Mar 2008 05:43:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27211</guid><dc:creator>Clay Fox</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27211.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=27211</wfw:commentRss><description>&lt;p&gt;You should be able to change the format of the field. You can even do the conversion&amp;nbsp;manually with string functions and two fields if neccessary.&lt;/p&gt;
&lt;p&gt;If you are blocked you could buy a support credit and I am sure we could get it working. &lt;a href="http://www.qdabra.com/products_all.asp?cat=12"&gt;http://www.qdabra.com/products_all.asp?cat=12&lt;/a&gt;&lt;/p&gt;</description></item><item><title>Date Issue</title><link>https://www.infopathdev.com:443/forums/thread/27199.aspx</link><pubDate>Thu, 13 Mar 2008 18:23:17 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:27199</guid><dc:creator>requ13mIRL</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/27199.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=27199</wfw:commentRss><description>&lt;p&gt;Hey all,&lt;/p&gt;
&lt;p&gt;First time poster long time reader.....I&amp;#39;m developing a capacity planning tool for MS and the date ISO that infopath submits to SQL is YYYY-MM-DD and i&amp;#39;m querying a fiscal year database that will allow me to enter a date from a date picker and return the month, week in the month, fiscal year and quarter. However the date format in the fiscal year database that i&amp;#39;m querying is in the format MM/DD/YYYY. &lt;/p&gt;
&lt;p&gt;So when i query it, it returns nothing. I need to change the format that infopath submits the date into SQL so that i can pull out the required information?can someone save me?&lt;/p&gt;
&lt;p&gt;Thanks guys&lt;/p&gt;</description></item></channel></rss>