跳到主内容

搜索

搜索

Validating User Input

评论

1 条评论

  • Avatar
    Legacy Poster
    Julian,

    All of that can be done using VB scripting. Every BarTender format has VB scripts that can be set up to run at various times. Including directly after a prompt.

    To get to these general scripts, simply browse to File > BarTender Document Options (Might be called "Label Format Options" in 9.4-). You can write a script in one of these events (like OnIdenticalCopies) that will run after a prompt and can compare your two data fields entered.

    For your automatic date. That's even easier. BarTender's date function can be "offset" a certain amount of time. Simply set your offset (Found under the transforms tab in v10) to 35 months.

    Alternatively, you could script it using the DateAdd() VB function in a VB script as the data source for that particular field in BarTender: www.w3schools.com/vbscript/func_dateadd.asp - However, that seems more complex than your actual needs.
    0

请先登录再写评论。