Hello;
I have an InfoPath 2007 form which uses a Web Service to submit data to a SQL Server Database.
As we all know, submissions aren’t always successful and so my submit code lives in a Try-Catch. In the Catch, I capture the error message to a string that I would like to pass back to the form.
My problem is this;
1. How do I pass the variable back to the form from the Web Service?
2. How and where do I receive the message back in the form?
I know this must sound very basic, but for the life of my I’m totally dumbfounded by this.
Not only do I want to display the error message, but I must also take some actions on success.
BTW – My Submit button uses rules to fill in a field (Timestamp) and then submit the form. And I use VB.Net for coding, but if your examples are in C#, no prob, I can translate.
Thanks for any help – Much appreciated.
Ron…
Cheers.
Ron...