Skip to main content

Search

Search

Vb Script -> Print Preview Does Not Match Final Print

Comments

4 comments

  • Avatar
    Ian Cummings
    Moderator

    Maybe you need to do this in an event based VB script.  Normally you set a value to the value of the object within which the data source is running, rather than trying to set the data source of a different object container.  Also, is IP supposed to be a named data source?  If so then the correct syntax to reference it is: Format.NamedSubStrings("IP").Value

    0
  • Avatar
    Legacy Poster

    Thanks for the quick response.

     

    My first reply is "Huh?  What?".  So let me at least explain the little that I do know about VB scrips.

     

    I know about VB scripting within the confines of the screen data

    Double-click 'PART'

       More Options

      VB Scripting

      OnProcessData

      Edit

     

    That is where my script is currently located.

     

    I know of another 'area' to include VB scripting

     

    View

      View Options

      VB Scripting

      **A number of events - not sure which applies to my situation**

      Edit

     

    My guess is that you are referring to the latter?

     

    How do I distinguish between the Value(PART) that I am looking and the Value(IP) that I am changing?

    0
  • Avatar
    Ian Cummings
    Moderator

    What version of BarTender are you using?

    0
  • Avatar
    Legacy Poster

    What version of BarTender are you using?

     

    BarTender 9.3 Enterprise Automation

    0

Please sign in to leave a comment.