Saltar al contenido principal

Búsqueda

Búsqueda

VBScript to cancel print if data contains a specific letter

Comentarios

2 comentarios

  • Avatar
    Shotaro Ito

    Create a text and link to text input box on a form.

    On the text's Data source > Transform, apply VB Script below:

    OnProcessData

    If Mid(Value,22,1)="N" Then call Format.CancelPrinting("Wrong Label Program","")
    0
  • Avatar
    Christine Wattley

    Thank you!  this worked just as expected.

    0

Iniciar sesión para dejar un comentario.