Checking and validating data from a database - InfoPath Dev
in

InfoPath Dev

Checking and validating data from a database

Last post 09-26-2014 07:22 AM by Kully. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 09-26-2014 07:22 AM

    • Kully
    • Not Ranked
      Female
    • Joined on 11-16-2012
    • Posts 24

    Checking and validating data from a database

    Hi,

    I am trying to create a InfoPath 2010 form, which I am connecting to a SQL server. I have connected to the appropriate table. I have two text fields on the form i.e. Username and Password.

    I would like to check if the data which is entered in these fields matches the data in the database once the submit button is clicked. If it does then it takes the user to a different view i.e allows them to access the next page.

     E.g. the database contains 2 columns Username and Password. - Record 1 Username = test1,  Password = 1234, Record 2 Username = test2, Password - 3456

     If a user enters both matching username and password from the database then this takes the user to another view however if they do not match then user is presented with an invalid log in error message.

    Any advise on how I could achieve this will really be appreciated.

    Thank you in advance.

      

      

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