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)
 
Top