Skip to main content
Solved

Generate sequential id after form submission

  • Aug 28, 2022 1:11 PM UTC
  • 1 reply
  • 60 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.

View original
This topic has been closed for replies.

1 reply

ScottWorld
Forum|alt.badge.img+35
  • Genius
  • Answer
  • Aug 28, 2022 1:15 PM UTC

Change the ID field to an “autonumber” type.