Second submissions to SQL database repeating tables - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Second submissions to SQL database repeating tables

Last post 02-08-2011 09:45 PM by DarrylGould. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 02-02-2011 04:27 AM

    Second submissions to SQL database repeating tables

    Hi

    We have a form that is based on a SQL database.  The form contains several repeating tables.  The repeating tables populate one-to-many tables in the SQL database.

     

    We send data to the database twice: Once when the record is created; and once, a couple of weeks after, when the repeating tables are populated.

     

    I have discovered that when the record is originally created in SQL an ID is assigned first entry in the repeating tables. 

     

    When we try to submit the data for a second time, the data cannot be sent if there is more than one entry in the repeating tables (because no ID exists for the second and third rows).

     

    Thanks

    Darryl

     

    Is there any way around this?  Is it possible to add blank rows to the repeating tables when a new form is created?

     

  • 02-02-2011 03:14 PM In reply to

    Re: Second submissions to SQL database repeating tables

    Hi Darryl,

    It sounds like there is something wrong with the SQL Schema.

    I know you and I talked about DBXL software in the fall, DBXL would solve tha problem because it keeps track of the correspondence and allows for updating.

    I would be happy to assist with the install of DBXL so you can test it out - do you have a web server where you can install DBXL?

    ted

  • 02-08-2011 09:45 PM In reply to

    Re: Second submissions to SQL database repeating tables

    Hi Ted Thanks for your response. I haven't forgotten about DBXL. I am just waiting for a requirement where we need it, and there is no work around. With regard to this particular problem, I found a workaround. I found that removing the Default Values for Repeating table stopped the form creating blank rows in the SQL table. This allowed me to perform the second submission without any issues. Thanks Darryl
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.