Jump to content

Data Tag If/Then formula?


Recommended Posts

If I understand you correctly a more straightforward option might be to just enter 'Particle Board' in (for example) the 'Description' field for the Material: then, depending on the formula you used, you could return either 'PB' or 'Particle Board' in your tags/worksheets depending on what you wanted to see at any one time.

Link to comment

The best way to do IF/Then in a Data Tag is by using the Worksheet IF command. I think you are already familiar with this from using it in worksheets.

 

In a DataTag formula you enter it as:

 

#WS_IF(condition, true value, false value)#

 

Inside the function (between the #WS_ and the end #) you have to use pure worksheet functions.  You can't use Data Tag nomenclature inside the #WS_ # block.

 

Ask again if you need more help.  Or even better, post a file with your data tag format and a couple of your PB objects so we can make sure we are offering the correct solution.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...