after inserting data to database how to show sucess page? - InfoPath Dev
in

InfoPath Dev

after inserting data to database how to show sucess page?

Last post 11-24-2008 11:42 PM by Shiva. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 11-24-2008 08:29 AM

    after inserting data to database how to show sucess page?

    after inserting data to database how to show sucess page or page refresh for submitting another record.

  • 11-24-2008 07:47 PM In reply to

    • Anuma
    • Top 25 Contributor
      Female
    • Joined on 07-20-2005
    • India
    • Posts 525

    Re: after inserting data to database how to show sucess page?

    Hi,

     

    Add Rule to the Button to show the Success message after submitting to Db.

    1. Double click on the button and Select Rules button.
    2. Click on “Add” button and Click on “Add Action” button.
    3. Select “Show a Dialogue box Message” from Action dropdown.
    4. Enter your message in “Message” field.
    5. Click on ok.
     

    And also add rule to clear the values in the form after showing the success message.

    1. Double click on the button and Select Rules button.
    2. Click on “Add” button and Click on “Add Action” button.
    3. Select “Set a Field Value” from Action field.
    4. Select field xpath from “Field” text box.
    5. Leave “Value” as blank.
    6. Click on ok.
    Anuma Chinthapalli /
    http://www.GGKTech.com
  • 11-24-2008 11:42 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: after inserting data to database how to show sucess page?

    Hello,

    Do you want to refresh the page or update records you want to display in your page then after submitting data to database you have to call retrieve connection from database. It will give updated records data with newly added record also included in that result.

    Above rule will fire always when we try to submit the record to database. If the record submitting fails also it will give success message. For this we have to write the code to get the record is submitted successfully or not.  

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