<?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: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125184.aspx</link><pubDate>Mon, 21 Nov 2022 17:09:29 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125184</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125184.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125184</wfw:commentRss><description>I would try creating a new data connection - modify the SQL to call the stored procedure, and just try the data connection as is (the new one) to see if data is returned to the form. Put the data fields from the new connection on the form so you can see if data is returned. Compare the schemas of the original data connection to the new one to see if there is any difference in what is being returned.</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125183.aspx</link><pubDate>Mon, 21 Nov 2022 16:27:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125183</guid><dc:creator>desasaurus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125183.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125183</wfw:commentRss><description>still no luck after clearing the datatype errors. no more errors, but still no data. the command is reporting success in the execution history and examining packets sent to the server shows that the SQL statement is being sent, however the server is not receiving the data.</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125179.aspx</link><pubDate>Fri, 18 Nov 2022 19:58:44 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125179</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125179.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125179</wfw:commentRss><description>Oh, I hope so, before this form kills us both. :)</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125178.aspx</link><pubDate>Fri, 18 Nov 2022 19:55:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125178</guid><dc:creator>desasaurus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125178.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125178</wfw:commentRss><description>on re-checking, the old form has the same error. Apologies, this form is giving me brain damage I think. I did however get a new error about datatypes when trying to run:
The query cannot be run for the following DataObject: approvers
InfoPath cannot run the specified query.
[0x80040E07][Microsoft OLE DB Provider for SQL Server] Error converting data type varchar to numeric.

so i think its at least narrowed down to the stored procedure now.</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125177.aspx</link><pubDate>Fri, 18 Nov 2022 19:09:21 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125177</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125177.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125177</wfw:commentRss><description>I take it that is from the copy of the template I gave you? In your original, it was still succeeding?</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125176.aspx</link><pubDate>Fri, 18 Nov 2022 18:58:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125176</guid><dc:creator>desasaurus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125176.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125176</wfw:commentRss><description>the modifysqlquery command was succeding before. now It returns the following error:

ModifySqlQuery error: InfoPath has encountered an error. The operation failed. ﻿﻿ The form&amp;#39;s code contains an error. The following call in the form&amp;#39;s code failed: ADOAdapter.Query Operation aborted</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125175.aspx</link><pubDate>Fri, 18 Nov 2022 18:50:52 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125175</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125175</wfw:commentRss><description>Can you put the QdabraRules execution history on your form and verify that the Modify SQL Query command for the approvers data connection is returning success? The command is supposed to execute the query, but if GetXml /dsname=approvers isn&amp;#39;t returning any data, that would indicate there is no data being returned to the form... I also noted something a bit odd about this data connection in the form&amp;#39;s manifest file. It had a xsf2:adoAdapterExtension element that appeared malformed. Not sure what happened there, but the other data connections don&amp;#39;t have that element, so I thought I&amp;#39;d try removing it in this copy. You could also check and see if this copy behaves better. Right click the link in the header and save as to save locally, right click the saved file and select Design to open in design mode.</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125173.aspx</link><pubDate>Fri, 18 Nov 2022 18:28:06 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125173</guid><dc:creator>desasaurus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125173</wfw:commentRss><description>There are quite a few data connections and they are all working as expected. Thank you for all your help!</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125172.aspx</link><pubDate>Fri, 18 Nov 2022 17:16:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125172</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125172</wfw:commentRss><description>So - to me, this indicates no data has been returned in that data source. You can check this by checking a different data connection - do you have other data connections in your form? You can also just use GetXml and it will return the main data source XML to the results field so you can see how the command works.... But I guess the next thing I&amp;#39;d verify is that your approvals data connection has been queried. Please feel free to attach a copy of your form under the Options tab if you&amp;#39;d like me to take a quick look. I can&amp;#39;t connect to your data sources, of course, but could give it a quick check for logical errors.</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125171.aspx</link><pubDate>Fri, 18 Nov 2022 16:39:12 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125171</guid><dc:creator>desasaurus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125171.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125171</wfw:commentRss><description>Ah I see now. I entered the command in the proper way I think, however there is nothing populated in the error or results field and the success marker is checked. same is true in execution history. Any advice?</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125170.aspx</link><pubDate>Fri, 18 Nov 2022 15:37:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125170</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125170</wfw:commentRss><description>Sounds like you may be trying to put that text in a formula editor. Put the qRules command and result field on the form so you can just enter the text as you have it into the command field and tab out: GetXml /dsname=approvers</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125169.aspx</link><pubDate>Fri, 18 Nov 2022 14:44:58 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125169</guid><dc:creator>desasaurus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125169.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125169</wfw:commentRss><description>I keep getting an error:
&amp;quot;GetXml/dsname&amp;quot; does not point to a valid location path of a field or group.

is there something wrong with my syntax?

GetXml /dsname = approvers</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125157.aspx</link><pubDate>Fri, 11 Nov 2022 18:07:45 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125157</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125157.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125157</wfw:commentRss><description>If you use GetXml /dsname=YourDataSourceName in the qRules command field, XML should be returned in the Result field - that would be at least a start to figuring out what&amp;#39;s up.... is the XML returned what you expect?</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125156.aspx</link><pubDate>Fri, 11 Nov 2022 17:12:25 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125156</guid><dc:creator>desasaurus</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125156.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125156</wfw:commentRss><description>we tried recreating the connection from scratch in a new form with the same results.</description></item><item><title>Re: problems receiving data from stored procedure</title><link>https://www.infopathdev.com:443/forums/thread/125155.aspx</link><pubDate>Fri, 11 Nov 2022 15:44:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:125155</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/125155.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=47&amp;PostID=125155</wfw:commentRss><description>First, your tag game is on point. Second - I wonder if the data returned from the stored procedure changed at all? Perhaps the data connection fields don&amp;#39;t align with what is currently being returned from the stored procedure? You can use the qRules command: GetXml /dsname=YourDataSourceName to get back the actual XML in the data connection and compare that to the schema for the data connection - see if there are differences.</description></item></channel></rss>