跳至主內容

搜尋

搜尋

VBScript to cancel print if data contains a specific letter

評論

2 條評論

  • 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

登入寫評論。