cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Repeat Region issue !

SOLVED
Highlighted
Participant

Repeat Region issue !

Hi,

I have an problem about the table.

The user defined parameter can not displayed after i add some new code.

1111.png

                                        PIC 1 

 

222.png

                                               PIC 2

333.png

                                                         PIC 3

 

When i add the new code in PIC 3. The parameter (QTY1) can't correctly display after update table (see PIC 2)

I don't know what went wrong. There is no problem with the new code.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted

Re: Repeat Region issue !

i use an other code instead of the NEW CODE in PIC3 which solved the problem of user defined parameter (QTY1 ) display. 

 

1.png

View solution in original post

11 REPLIES 11
Highlighted

Re: Repeat Region issue !

Can you upload a sample file and state what version of Creo it was created in?

Highlighted

Re: Repeat Region issue !

Please see attached for base code. I used another form of code to solve the problem. 

Highlighted

.0Re: Repeat Region issue !

CREO 4.0

Highlighted

Re: Repeat Region issue !


@ZC_8293506 wrote:

Hi,

I have an problem about the table.

The user defined parameter can not displayed after i add some new code.

1111.png

                                        PIC 1 

 

222.png

                                               PIC 2

333.png

                                                         PIC 3

 

When i add the new code in PIC 3. The parameter (QTY1) can't correctly display after update table (see PIC 2)

I don't know what went wrong. There is no problem with the new code.

 

 


Hi,

look at base code ... endif command is missing at the end of first if command.


Martin Hanák
Highlighted

Re: Repeat Region issue !

Sorry,  i deleted the ENDIF in PIC 3 by accident  which made the code looks have some bug. But the lack of ENDIF does not exist in the base code. 

Please see attached for base code. I used another form of code to solve the problem. 

Highlighted

Re: Repeat Region issue !

Looks like you're missing an 'ENDIF'.

Highlighted

Re: Repeat Region issue !

Sorry,  i deleted the ENDIF in PIC 3 by accident which made the code looks have some bugs. But the lack of ENDIF does not exist in the base code. 

Highlighted

Re: Repeat Region issue !

@ZC_8293506

 

Relation as in image may help.... 

 

MaheshSh_0-1602506754515.png

 

EDIT: If this doesn't work, share a sample file and replace the report parameter asm_mbr_name with asm_mbr_part_number or as per your use case with appropriate values. 

 

Highlighted

Re: Repeat Region issue !

Thank you for your new idea !

But it look like another user defined parameter "AAA" can't display correctly. Creo4.0 is strange😂

6666.png 

The error also exist in your screenshot

9999.png

Highlighted

Re: Repeat Region issue !

i use an other code instead of the NEW CODE in PIC3 which solved the problem of user defined parameter (QTY1 ) display. 

 

1.png

View solution in original post

Highlighted

Re: Repeat Region issue !

Of course . I don't know what's wrong with the code (in PIC3) I added before. But they do cause the display error. 😰

 

Announcements