Hi there
The form Querysave event wraps up some data and appends it to a log field - the trouble is the field Input Translation either fires after this event, or a Input Translation fail event doesn’t prevent it from firing - so how do I prevent Querysave from running if the field Input Translation fails?
Thanks
Subject: RE: Input Translation firing before Querysave
Have Querysave call NotesUIDocument.Refresh, which will error out of the validation fails. Use On Error to trap this error and skip further processing.
Subject: RE: Input Translation firing before Querysave
Andre
I’ve included the refresh like this…
Sub Querysave(Source As Notesuidocument, Continue As Variant)
Call Source.Refresh
But I’m having a problem with the On Error syntax the help file doesn’t explain how to Exit Sub if it trips On Error…
Subject: RE: Input Translation firing before Querysave
On Error Goto oops…
oops:
Exit Sub
Subject: RE: Input Translation firing before Querysave
Thanks Andre
I did try that as part of my efforts and got an 'Expected Resume Next" error - I’ve just done it again and it worked - maybe a typo the first time - thanks for your assistance - much appreciated