Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How do I create a unique sequential number for each record (@Number)?

create record Sequential
0
10 Posted

How do I create a unique sequential number for each record (@Number)?

0
10

You can use @Number, as you do in Q&A. But in Sesame there is only one @Number per application, which can contain several databases. You can also use variables to get multiple @Numbers. And you can also use the handy technique of adding one to the highest existing number in that field with programming like this … IF Number1 = “” THEN Number1 = @ToNumber(@XLookupR(@Filename, 99999, “Number1”, “Number1”)) + 1 The field that Number1 is bound to MUST be a number field. This is easy to copy to other fields, you can use it in as many fields as you want, and requires no “@Number maintenance”.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123