Form Validation Errors

A

Andy

I saw in another post where someone was trying to catch the form validation
errors in VB. The suggestion was to look into the thisXDocument.Errors
collection. Where can I find more info on this? My search has not found it
yet. Thanks.
 
A

Andy

I found the collection info on MSDN :
Office Solutions Development
InfoPath 2003
SDK Documentation
InfoPath Developers Reference
Collections
Errors Collection

Here is what I used:
If (thisXDocument.Errors.Count > 0) Then
thisXDocument.UI.Alert(ValidationErrorMessage)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top