Community Tip - Visit the PTCooler (the community lounge) to get to know your fellow community members and check out some of Dale's Friday Humor posts! X
Hi mates, Could you someone tell me how to add leading zero for BOM sl.nos, and qty column like 01,02,03... Instead of just 1, 2, 3... In creo 7 or latest?
Thanks in advance
Hi,
you have to define repeat region relations.
my_qty=extract("0"+itos(rpt_qty),string_length("0"+itos(rpt_qty))-1,2)

Hi ,
After input the relation i got "Invalid symbol"error. Did I missed something?
You need to change the parameter in your table from rpt_qty to My_qty.
Yours should be:
&rpt.rel.My_qty
This is in my table:
&rpt.rel.newqty
This is in my relation:
IF asm_mbr_pn == "9594"
NEWQTY = "0.5"
ELSE
NEWQTY = rpt_qty
ENDIF
Hi,
check whether repeat region attribute is set to No Duplicates.
If &rpt.qty is not included in repeat region column, then you have to add rpt_qty parameter manually in relations dialog box.\

Type of the parameter is irrelevant. Creo will set it to Unknown.
 
					
				
				
			
		
