<?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>Qdabra Database Accelerator</title><link>https://www.infopathdev.com:443/forums/61.aspx</link><description>Qdabra Database Accelerator (DBXL) simplifies connecting InfoPath to SQL Server and SharePoint for codeless storage, permissions, workflow, and reporting on InfoPath forms. This forum also supports users of Qdabra's WSSP.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52599.aspx</link><pubDate>Wed, 10 Mar 2010 16:03:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52599</guid><dc:creator>Jim Cantwell</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52599.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52599</wfw:commentRss><description>&lt;p&gt;Can you generate sql scripts for the database tables, including foreign keys, indexes etc and email them to support(at)qdabra.com?&amp;nbsp; This will allow us to identify the exact scenario that might cause the issue you are seeing.&lt;/p&gt;
&lt;p&gt;Also, please include the version of SQL Server are you using.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Jim&lt;/p&gt;</description></item><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52593.aspx</link><pubDate>Wed, 10 Mar 2010 10:45:55 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52593</guid><dc:creator>orion</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52593.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52593</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached a screenshot of my tables, they do look the same as yours so I&amp;#39;m not sure why it doesn&amp;#39;t&amp;nbsp;work.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52569.aspx</link><pubDate>Tue, 09 Mar 2010 14:42:00 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52569</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52569.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52569</wfw:commentRss><description>&lt;p&gt;Hi orion,&lt;/p&gt;&lt;p&gt;At least the shredding is working correctly when you move the DocID, but it should still work. &lt;/p&gt;&lt;p&gt;I assume that we have a difference in how we created our primary keys in the tables. Can you compare my database table screenshot (a few posts above this one) to yours? How are you creating your primary keys in the database tables? Perhaps this is where we have a difference in our scenarios.&lt;/p&gt;&lt;p&gt;Thanks!&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52533.aspx</link><pubDate>Mon, 08 Mar 2010 11:08:50 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52533</guid><dc:creator>orion</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52533.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52533</wfw:commentRss><description>&lt;p&gt;Hi, you&amp;#39;re right, there is no need to have TWDetails as a separate table. I have copied your setup and included those fields in TWHeader. I have changed my mapping so it looks exactly the same as yours but I still get the error I was getting previously when I try to reshred. If I just have IssueNumber as the foreign key and move DocID into the list of columns it works ok though and all the tables are updated correctly.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached screenshots of both mappings in case you can see anything but as it does seem to work ok with the DocID not in the foreign key I&amp;#39;m happy to leave it like that. &lt;/p&gt;
&lt;p&gt;Thanks for all your help.&lt;/p&gt;</description></item><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52528.aspx</link><pubDate>Sun, 07 Mar 2010 15:37:33 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52528</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52528.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52528</wfw:commentRss><description>&lt;p&gt;Hello, and thanks for your patience. I have been able to recreate this scenario, and it works, so we need to investigate why it&amp;#39;s not working for you. I&amp;#39;m attaching a screenshot will all my setup; perhaps it&amp;#39;ll help you out as you compare to your setup.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;Also: Why is TWDetails necessary as a separate table? Because there is no repeating group under Details, there is a 1 to 1 relationship between the data in TWDetails and TWHeader. I believe the data in TWDetails can just be added as columns in TWHeader. That&amp;#39;s why I did in my environment, but let me know if this is not acceptable.&lt;br /&gt;&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52494.aspx</link><pubDate>Thu, 04 Mar 2010 22:35:19 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52494</guid><dc:creator>Hilary Stoupa</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52494.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52494</wfw:commentRss><description>&lt;p&gt;Great, thanks for the additional information. We&amp;#39;ll see if we can reproduce the issue.&lt;/p&gt;</description></item><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52471.aspx</link><pubDate>Thu, 04 Mar 2010 17:05:05 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52471</guid><dc:creator>orion</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52471.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52471</wfw:commentRss><description>&lt;p&gt;TWIssues had DocId and IssueNumber as the primary key. TWIssuesActions has DocID, IssueNumber and ActionNumber as the primary key. I have defined no relationships between the tables in sql.&lt;/p&gt;</description></item><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52460.aspx</link><pubDate>Thu, 04 Mar 2010 15:54:13 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52460</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52460.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52460</wfw:commentRss><description>&lt;p&gt;It might be possible to have two foreign keys defined in the database mapping (in DAT) but perhaps we need to look at your table in SQL too. What is defined as a Foreign Key in the table? What is defined as a Primary Key? Thanks for the additional info.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52451.aspx</link><pubDate>Thu, 04 Mar 2010 14:43:39 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52451</guid><dc:creator>orion</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52451.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52451</wfw:commentRss><description>&lt;p&gt;Hi Ernesto and thanks for your reply.&lt;/p&gt;
&lt;p&gt;I changed the foreign key to be just IssueNumber and moved DocID into the list of columns and populated it there and it all works ok now.&lt;/p&gt;
&lt;p&gt;Is it not possible then to have more than one foreign key. It&amp;#39;s just that the 2 tables link by DocID and IssueNumber, they are the unique key on TWIssues, and it seemed the right&amp;nbsp;place to map those 2&amp;nbsp;columns.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;</description></item><item><title>Re: DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52447.aspx</link><pubDate>Thu, 04 Mar 2010 13:21:53 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52447</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52447.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52447</wfw:commentRss><description>&lt;p&gt;Hi orion,&lt;/p&gt;&lt;p&gt;I&amp;#39;m sorry that you&amp;#39;re having issues. The problem might be that you have two keys set for the grandchild table (TWIssuesActions). You need just one key between the tables TWIssues and TWIssuesActions. Can you try that and let us know how it goes? Thanks.&lt;br /&gt;&lt;/p&gt;</description></item><item><title>DBXL mapping error</title><link>https://www.infopathdev.com:443/forums/thread/52446.aspx</link><pubDate>Thu, 04 Mar 2010 10:36:02 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:52446</guid><dc:creator>orion</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/52446.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=61&amp;PostID=52446</wfw:commentRss><description>Hi,

I&amp;#39;m trying to complete my database map in DBXL but am getting an error after I add a mapping for one of my repeating tables. I have attached screenprints of my database map and my data source. 
&lt;br /&gt;
With the tables TWHeader, TWDetails and TWIssues the mapping is ok and all the tables are updated. As soon as I add TWIssuesActions and try to ReShred I get the error:
&lt;br /&gt;
An error occurred while calling the ReshredAllDocuments method.
ID501: Error parsing 1 documents out of 1.
Error Shredding DocId 111: Error inserting a new record into the DB
Check mapping for foreign keys on object TWIssues, and Node my:IssuesActionsRepeat.
&lt;br /&gt;
This is the first mapping I have done so I&amp;#39;m probably making a very silly mistake, I hope someone can help.
&lt;br /&gt;
Thanks.</description></item></channel></rss>