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

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

put in last row data in infotable

SH_KIM
11-Garnet

put in last row data in infotable

Hi, all

 

I'm trying to make a schedule chart that shows the operating status and Start/End time.

But i have some problem.

I want to put end time in the last row of infotable and put in new opreation status and time by add row of infotable.

 

please refer below my code,

SH_KIM_0-1643015234481.png

SH_KIM_2-1643015292264.png

 

please let me know if somebody know to put data in last row of infotable.

 

Thank you.

best regard

1 ACCEPTED SOLUTION

Accepted Solutions
SH_KIM
11-Garnet
(To:slangley)

Hi, sharon, 

 

Thank you for your reply,

But I solved it.

 

          1. I put the last row data into the Backup variable and delete last row.

          2. After combining the last row of the backed up data with the current time, use the AddRow function to insert the data into the last row of the infotable.

 

bset regards,

View solution in original post

2 REPLIES 2
slangley
23-Emerald II
(To:SH_KIM)

Hi @SH_KIM.

 

Can you explain more about your use case?  It doesn't seem like there should be an end time for some of these statuses.  We also need to see more of your code.

 

Regards.

 

--Sharon

SH_KIM
11-Garnet
(To:slangley)

Hi, sharon, 

 

Thank you for your reply,

But I solved it.

 

          1. I put the last row data into the Backup variable and delete last row.

          2. After combining the last row of the backed up data with the current time, use the AddRow function to insert the data into the last row of the infotable.

 

bset regards,

Top Tags