Skip to main content

Search

Search

Supress Field With Prompt Design

Comments

2 comments

  • Avatar
    Ian Cummings
    Moderator

    Create an off label text object that can have a value of True or False; give this data source a share name.  Create a user prompt item for the label object so that it requires data entry at print time.  Now open the properties of the price field, go to the "More Options" of the data source and choose to modify the OnProcessData VB script.  In the script write a conditional statement that tests the value of the share name, and thereby sets the value of the price to be the price, or to be a value of nothing.

     

    Note that in v10.1 we added built in conditionality of when objects should print or not without needing to use a VB script.  Also the True/False data source can be created without the need to be stored in a label object "container".

    0
  • Avatar
    Legacy Poster

    Great, thanks a lot for the pointers!

    0

Please sign in to leave a comment.