Jump to content
  • 0

display 'next-in-series' ID on Form


Ambers

Question

When using a form to create a new entry the user needs to know what the ID for the record getting created is (so physical materials can be labeled with the ID and stored). 

IDs are sequential numbers and are unique.

Values are not created using the autonumber datatype.

ID should autofill and the user should not be able to change the value.

I think something like Max+1 should work but I can’t figure out how to make it work. Full disclosure, I am NOT a programmer which is why we are using Caspio (Although I am able to copy and past code if someone tells me what needs to go where..=-)

image.thumb.png.228f34f9da757dbfd66938905a2ac40b.png

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0
20 hours ago, Ambers said:

When using a form to create a new entry the user needs to know what the ID for the record getting created is (so physical materials can be labeled with the ID and stored). 

IDs are sequential numbers and are unique.

Values are not created using the autonumber datatype.

ID should autofill and the user should not be able to change the value.

I think something like Max+1 should work but I can’t figure out how to make it work. Full disclosure, I am NOT a programmer which is why we are using Caspio (Although I am able to copy and past code if someone tells me what needs to go where..=-)

image.thumb.png.228f34f9da757dbfd66938905a2ac40b.png

Does this need to be a dropdown? You can use Calculated value form element maybe?

(Select MAX(IDFIELD) FROM TABLENAME) + 1

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...