Skip to main content
Solved

Generate sequential id after form submission

  • August 28, 2022
  • 1 reply
  • 33 views

Hello,
I have an “id” column in my table. How can I generate sequential “id” after submitting the form?

|id|First name|Last name|
|1|John|Doe|
|2|Mary|Jane|
|3|Raplh|Smith|

I.e. after creating a new record “Tony Jones”, id=4 should be added automatically.

Best answer by ScottWorld

Change the ID field to an “autonumber” type.

1 reply

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • 9808 replies
  • Answer
  • August 28, 2022

Change the ID field to an “autonumber” type.