Cancel
Showing results for 
Search instead for 
Did you mean: 

Method Table File

Pioneer
Pioneer

Hi!

 

I'm trying to write a table by method but my column A anb B don't have de same size for exemple. Like de image.

 

i'.m using de Method like this:

Here i can write the columns 1,2 and 3. Then i'm not getting a way to find de"Ydim" in the 3,4 and 5 columns.

 

if ?.name ="G7_3" or ?.name ="G7_4" or ?.name ="G7_15m2" then
    y:=.Models.Chicotes.Bancada_1.ydim;
    .Models.Chicotes.Bancada_1[1,y+1]:=@.car;  
    .Models.Chicotes.Bancada_1[2,y+1]:=@.cod;
    .Models.Chicotes.Bancada_1[3,y+1]:=@.num;
elseif ?.name ="G7_3" or ?.name ="G7_4" or ?.name ="G7_15m2" then
   y:=.Models.Chicotes.Bancada_1.ydim;  --(*Here how can I find the last line?)*
    .Models.Chicotes.Bancada_1[1,y+1]:=@.car;  
    .Models.Chicotes.Bancada_1[2,y+1]:=@.cod;
    .Models.Chicotes.Bancada_1[3,y+1]:=@.num;
end:

 

 

Capturar.JPG

 

3 REPLIES

Re: Method Table File

Siemens Phenom Siemens Phenom
Siemens Phenom

Hi Arthur,

 

it's not clear to me what you want to achieve.

 

In the picture you posted, what would be number of the last line you are looking for?

 

Regards,

Ralf

Regards,

Ralf
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.

Re: Method Table File

Pioneer
Pioneer

I want to organize in the same order.Like the image:

 

Capturar.JPG

 

Re: Method Table File

Siemens Phenom Siemens Phenom
Siemens Phenom

I see.

 

In this case I would suggest to use two tables, one with the data of columns 1-3 and the other with the data from columns 4-6.

Regards,

Ralf
------------------------------------------------------------------------------------------------------
Did you like the answer? Then click the Thumbs Up button.
Did the answer solve your problem? Then accept the answer as solution.