As I said, the last ID is going to be the stack ID -1. Sent from my iPhone > On May 25, 2024, at 16:55, Bob Sneidar <bobsneidar at iotecdigital.com> wrote: > > sounds logical, but I'm not sure, maybe you could store the ID of the last group somewhere.