Query SQL DB and Write back new Record - InfoPath Dev
in

InfoPath Dev

Query SQL DB and Write back new Record

Last post 07-06-2006 09:09 PM by K.Ramana Reddy. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 07-06-2006 11:24 AM

    • JerryB
    • Not Ranked
    • Joined on 07-06-2006
    • Posts 2

    Query SQL DB and Write back new Record

    I am new to Infopath and SQL (My Apologies) I have created several infopath form reading and writing to access databases but this is my first to a SQL database.

    I have a form with a query at the top that allows users to select a previous form and pull that data into the form. This works ok.

    The user can then update the information and press the submit button and the data is written back to the database. The record is updated in the database with the new information. This is ok

    When the user updates the information and wants to save as a new record I have a check box on the form that the user checks to indicate a new record. This check box updates the project_id field which is the primary key in the database. Unfortunately what should be a new record is written over the old record in the database.

    Everything is written to the SharePoint site fine. I have .Net and can use that if the solution is easier.

    Any suggestions would be great...Thanks
  • 07-06-2006 09:09 PM In reply to

    Re: Query SQL DB and Write back new Record

    Hi,

    Check this link,

    http://infopathdev.com/forums/topic.asp?TOPIC_ID=1892

    I hope this will help you,

    Thanks.
    K.Ramana Reddy / http://www.ggktech.com
    India.
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.