Remove All rows in a table.

Home Forum General Remove All rows in a table.

This topic contains 5 replies, has 0 voices, and was last updated by  Anonymous 8 years, 2 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #433

    Anonymous

    Whats the best way to remove all of the rows in a table?

    #5116

    ijobling
    Participant

    simple way is to use the DELETE button in the table

    but if you are looking like your other post to do this programatically, look at the SetTableRow script where there is a ‘delete row’ function

    #5118

    Anonymous

    Yes this is related to my other post. This is another case where I havent been able to find a way to loop through all of the rows of a table to delete them.

    #5120

    ijobling
    Participant

    as per other post, send over your form where you have tried the SetTableRow

    #5124

    Anonymous

    Again, Thanks for the help Ian. For anyone else struggling with a “looping” functionality. Try using the simple branch as your loop control variable with the “Last command was successful” condition under special.

    #5450

    Anonymous

    I remember making a loop in deleting table rows, I simply count all the rows in the table, made a hidden field to throw the count value and then set a simple branch if the count value is not equal to zero it will continue to delete the rows.

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.