Cancel Print On Data Entry Validation Fail Follow

0
Avatar
Legacy Poster

Is there a way to disable the "Pad and Continue" button on the Warning Message #2603 message?  We need to force our users to not be able to print if they have not met the criteria.

 

Thanks,

 

Nikki

1 comments

1
Avatar
Shotaro Ito
Moderator
Comment actions Permalink

There's no such option for that.
You can create custom validation using VB Script, from
Data source > Transform(More options) > VBScript > OnProcessData event.
 
If Len(Value) <> 6 Then
  Format.CancelPrinting("[EmpNo:] must be 6 digits.")
End If

similar pattern shown below:

http://forums.seagullscientific.com/index.php?/topic/715-vb-script-on-validation-at-prompt-dialog/?p=2099

 

 
 

Please sign in to leave a comment.