Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi all
I am working inside a BOM table calling out the part description in one of two different languages. The parameters that I am calling up are: &asm.mbr.PART_NAME or &asm.mbr.DESCRIZIONE. My problem is that I want to display the DESCRIZIONE only if PART_NAME does not exist. I am using Creo elements 5 if that has any affect.
Thank you
Wayne
Solved! Go to Solution.
This is pretty straight forward. Add these relations to your repeat region and then change the parameter of the description column to be &rpt.rel.BOM_DESC
BOM_DESC = ""
IF EXISTS("ASM_MBR_PART_NAME")
BOM_DESC = ASM_MBR_PART_NAME
ELSE
IF EXISTS("ASM_MBR_DESCRIZIONE")
BOM_DESC = ASM_MBR_DESCRIZIONE
ENDIF
ENDIF
This is pretty straight forward. Add these relations to your repeat region and then change the parameter of the description column to be &rpt.rel.BOM_DESC
BOM_DESC = ""
IF EXISTS("ASM_MBR_PART_NAME")
BOM_DESC = ASM_MBR_PART_NAME
ELSE
IF EXISTS("ASM_MBR_DESCRIZIONE")
BOM_DESC = ASM_MBR_DESCRIZIONE
ENDIF
ENDIF
