checking before inserting into database - InfoPath Dev
in

InfoPath Dev

checking before inserting into database

Last post 05-17-2006 07:21 AM by Abhishek. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 05-17-2006 01:06 AM

    • saba
    • Not Ranked
    • Joined on 04-30-2006
    • Posts 5

    checking before inserting into database

    I want submit my forms data to the sql database but before submission ,the values of the fields must be checked with values in database….in other words imagine a room reservation form, before form is submitted to the database it should be investigated that this room in requested time has been reserved before or not if yes showing a message and do not insert a new row into the database…how can I do that ..what is the solution for checking with database fields and then submit the forms?

  • 05-17-2006 07:21 AM In reply to

    Re: checking before inserting into database

    Hi Saba,

    U need to write code to implement this.

    Write a query in a webservice to find out whether the "From Time" and "To Time" in ur InfoPath form conflicts with the "From Time" and "To Time" entered in the database for a particular room on that particular date.
    If there is no conflict,then insert a new row into the database.

    U can implement this on a single call to a web service.

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