That looked very helpful indeed. However I might need to include more factors here. In my DB I have tags starting with different letters and not all of them increment properly. I think it is easier if I share my tag folder to see what I mean.
tags.json (303.5 KB)
Would it still be possible to implement that the same way or would it matter as my DB starts with a few Tags starting with letter A then further on with M and R etc. , considering positioning looking at the certain Tag starting on different letter.
For some reason starting from the MS button it game me InvalidPathSyntax Error as you see on the screenshot:
As you see my Tags also have more numbers(not R001 but R0001) would that be affected?
At the moment I am not able to do any changes on the DB so if not I will go the basic way creating 1024 Multi-State buttons 
