DBXL submit to SQL server is creating NULL records - InfoPath Dev
in

InfoPath Dev

DBXL submit to SQL server is creating NULL records

Last post 04-23-2010 11:31 AM by binoj. 5 replies.
Page 1 of 1 (6 items)
Sort Posts: Previous Next
  • 04-23-2010 10:01 AM

    • binoj
    • Not Ranked
    • Joined on 04-23-2010
    • Posts 3

    DBXL submit to SQL server is creating NULL records

    When I submit the form, the following things happen as expected:

    1. It appears in the document tab in DAT.
    2. It appears in the SharePoint forms library

    The following things happening are un-expected

    1. It creates a record in the SQL server where only the doc id is getting correctly updated to the mapped field (which is also the primary key) in the SQL server.
    2. Rest of the fields get NULL value.

    Any idea what might be causing this problem?

  • 04-23-2010 10:22 AM In reply to

    Re: DBXL submit to SQL server is creating NULL records

    Can you include a screenshot of the database mapping tab in DAT, and also check eventvwr for any errors?

    Thanks.

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 04-23-2010 11:10 AM In reply to

    • binoj
    • Not Ranked
    • Joined on 04-23-2010
    • Posts 3

    Re: DBXL submit to SQL server is creating NULL records

    Attached is the screeshot.  I checked the event viewer.  There are no new errors.  All existing ones are old errors when I had the configuration incorrect.

     


  • 04-23-2010 11:17 AM In reply to

    Re: DBXL submit to SQL server is creating NULL records

    The node path is relative to the parent node path, so you will need to remove the my:myFields/ from the column node paths

  • 04-23-2010 11:21 AM In reply to

    Re: DBXL submit to SQL server is creating NULL records

    Hi binoj,

    The field paths must be relative to the table path. So if the table is mapped to my:fields, then all columns below must be mapped relative to that. You'll need to correct the database mapping to reflect this. I am attaching a screenshot to clarify this.

    Can you try this and let us know?

    Thanks!


    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


  • 04-23-2010 11:31 AM In reply to

    • binoj
    • Not Ranked
    • Joined on 04-23-2010
    • Posts 3

    Re: DBXL submit to SQL server is creating NULL records

    That worked very well.

     

    Thanks a lot guys.

     Binoj.

Page 1 of 1 (6 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.