Jorgen Posted April 10, 2008 Share Posted April 10, 2008 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 Quote Link to comment Share on other sites More sharing options...
cschmitz Posted April 10, 2008 Share Posted April 10, 2008 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. Quote Link to comment Share on other sites More sharing options...
Jorgen Posted April 11, 2008 Author Share Posted April 11, 2008 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 Quote Link to comment Share on other sites More sharing options...
cschmitz Posted April 11, 2008 Share Posted April 11, 2008 Thanks, it's working! Regards Jorgen No problem. Glad to help Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.