Forum Discussion

mkirkland's avatar
mkirkland
Contributor
13 years ago

Insert strings into Variable table rows

I am looping through a table to collect the values as strings. I want to append each value of that loop into a Project Table Variable



I am having trouble with the string to table part...any suggestions

2 Replies

  • OK i think i got it, i used: Project["Variables"]["LinkCollection"]["AddColumn"](CellName) in my for loop to dump the strings into the table. Checked that its working with an if loop so i think that will work for what im needing.



    Any better ideas on this? Can i push data to the table as Rows instead of columns?



    Is there a builtin command for viewing the table as a popup? Just to verify that data is being sent to the table??

  • Hello Matt,





    You can use the RowCount property to increase the number of rows in a loop and assign values to your table variable using the Item property.





    To verify the contents of the table variable, you can use the Iterator property to retrieve the value contents and post them to the log. Refer to the Iterator Object help topic for more information.