Good morning,
I am trying to figure out, how I can Loop through a table
table header and check, if a header name exists and if not, give out a message.
One of the challenges is, that the table is generated through a converter and the
list imported (CSV) can be different, can be 5, 10 or even columns, so it is dynamic.
Importing and converting to a table is no issue.
but
For example:
If I have a table with house styles and I would like to check
houses.png
if there is Tudor, Farmhouse & Cottage in the header
could i do that with a "do until loop"?
something like:
Where my logic has left me, if I try to loop through each header, as soon as the header is found, it should stop and goPlease Login or Register to view this content.
to search for the next name, in my case "Farmhouse" and if it does not exist, I would like to inform the user, that
the specific header is not found and therefore I have to leave the loop, not sure how to do it in such combination.
How would I do that, is there are more sophisticated way compared to may amateur approach? I could run multiple loops
but I am sure, there is a much better and faster way, try to keep the code as slim as possible.
thank you for the help,
Mike
Bookmarks