Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

IF CONDITION IN PART LIST COLUMN DEFAULT TEXT

Status
Not open for further replies.

raj1231

Mechanical
Joined
Sep 5, 2017
Messages
1
Location
IN
Hello,

I'm trying to populate a column text based on a condition.
'MW_STOCK SIZE', 'DESCRIPTION'and 'CATALOG' are three columns. I 'm trying to do IF CATALOG = EMPTY THEN MW_STOCKSIZE =DESCRIPTION ELSE MW_STOCKSIZE =CATALOG
Please help me regarding this.
 
You need to link that "column attribute" to an expression.
I'll call it "COLUMN_EXP"

Attributes, "DESCRIPTION" & "CATALOG" need to be linked to their own expressions. "******_EXP"

Now all contents of all three are in the expression system and then you can apply the logic.

"COLUMN_EXP"
if (CATALOG_EXP = "") (MW_STOCKSIZE_EXP) else (CATALOG_EXP)

This method works fine but it doesn't allow the COLUMN attribute to edited directly anymore without breaking the link to the "COLUMN_EXP"
It would be great if there was another variable that would allow a unique input to "COLUMN".

If so could it may be possible to super-cede the expression without breaking the link.


Dave
Automotive Tooling / Aircraft Tooling / Ground Support Structures

NX9, Win 7 Pro SP1
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top