Hi,
I have an InfoPath 2007 form which contains numerous SharePoint list data sources. There is one particular data source which I use to return a few items based on a code.
So for example if a code is entered, let's say 67789, three further field values are returned into the InfoPath form, from a SharePoint list. The way this works is by a button with a rule, once the button is clicked, it checks to see if the code field (text box) contains a value, before invoking the data source (which is filtered on the code) and populates the three fields.
This all works fine. However is there a way we can handle incorrect codes, so for example, if the code is not found, as opposed to doing nothing, and populating blank values, we can display a friendly message (for example, "This code was not found") ?? If so please let me know.
It's important no custom development can be used to get arount this, only out-the-box features can be used.
Many thanks for your help in advanced!