If there are ten tickets on each page you can easily solve it by using the page number feature.
The first ticket on the page gets number "<page>0", the second "<page>1" etc.
In the section setup you can set the starting page number to something else than 1, if you set the starting page to 4711 you will get tickets numbered: 47110, 47111, 47112, 47113 etc
I'd create the tickets on a Master Page, that way you only need to set the starting page number and insert empty pages to "fill" the document with tickets.
(If there had been any other number than 10 tickets on each page it would have been harder.)