Skip to main content

Search

Search

use same VB script for several text input boxes

Comments

4 comments

  • Avatar
    Peter Thane

    Is the any consistency about the data you need to extract? Such as always characters 8 through 12 or last 6, all start with 123... etc? 

    0
  • Avatar
    Kardo Aia

    Hi Peter,

    Yes, the data is all in the same format.

    Allthough the format can change in the future and changing the transform for 50 input boxes would be a real pain.

    0
  • Avatar
    Peter Thane

    Have you tried making the label fields VB Script fields, probably Event Controlled and OnPostPrompt and then call the Function at that time? 

    0
  • Avatar
    Kardo Aia

    But how do I reduce work that way? I can't find a way to call a common Function. When I add a function to Functions and Subs (either document level or other lable field) and call it I get Type mismatch error.

    What am I missing? I can read all the values from another object so can do that easily but can't write them.

    0

Please sign in to leave a comment.