This may work (and probably the easiest way) Let FP do the work using the DB
results/interface wizards:
If you're submitting the info to a database, a field called "ID" that is of
type "autonum" is created through the Frontpage wizard when you make the DB
connection based on your html form (if you open the database in MS access
table design view, you can see this). You can then access a record through
a query : results.asp?ID=x (where x is a record number).
Otherwise you need to code in a counter such as
Var RecordNum : Integer
RecordNum = 000
......
Then you write to the DB and after each record is written to the DB,
increment the counter:
RecordNum = RecordNum +1 in a Do While or Do For Loop etc and write this
number to each consecutive record.
I'm sure you can adapt ASP/VBscript code to do what you want or if you're
using MS Access Databases, create a field "recordNum" and make it of type
AutoNum.
and query the DB results.asp?RecordNum=X
I expect if you needed to you could put the leading zeros on the figure, but
the FP wizard just displays as "1", "2" etc.