Jump to content
Salesforce and other SMB Solutions are coming soon. ×

Create new recordnumber + 1


Jorgen

Recommended Posts

Hi there,

 

Ik have 10 records. In the latest record the field "Tracknr." is filled with value 10. When i create a new record i would like to fill the "tracknr." field automatically in to 11.

How do i do this?Oh Really!

 

smiley-laughing Thanks Jorgensmiley-laughing

Link to comment
Share on other sites

It sounds like you're trying to auto increment a serial number.

 

If you edit the options on your Tracknr field you can have it auto-enter a serial number. Set the next value to whatever number you want entered next (in this case that would be 11) and then leave it to increment by one on creation. That way every time you create a new record it will insert the next number value.

 

Be careful though. If you delete a record the count does not automatically go back and use the number that was deleted. If you want that kind of capability you'd need to have it auto enter a calculation.

Link to comment
Share on other sites

It sounds like you're trying to auto increment a serial number.

 

If you edit the options on your Tracknr field you can have it auto-enter a serial number. Set the next value to whatever number you want entered next (in this case that would be 11) and then leave it to increment by one on creation. That way every time you create a new record it will insert the next number value.

 

Be careful though. If you delete a record the count does not automatically go back and use the number that was deleted. If you want that kind of capability you'd need to have it auto enter a calculation.

 

 

Thanks, it's working!

 

Regards Jorgen

Link to comment
Share on other sites

This thread is quite old. Please start a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   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.



×
×
  • Create New...

Important Information

Terms of Use