alexpreyer
5th February 2004, 10:18
Hello,
I wrote a session where I use the tcmcs.dll0004.read.default.number-function to get a new auto number.
My problem is to find the best place in code to get a number only once.
At the moment I set the code in before.input section of the auto number field and check the update.status for add set.
But if the user "tabs" through the form and reach the field again he gets a new number. Unfortunately I cannot set the code to the main table io section because the users want the new number when they start to input a new record.
Can someone help me?
Thanks
Alex Preyer
I wrote a session where I use the tcmcs.dll0004.read.default.number-function to get a new auto number.
My problem is to find the best place in code to get a number only once.
At the moment I set the code in before.input section of the auto number field and check the update.status for add set.
But if the user "tabs" through the form and reach the field again he gets a new number. Unfortunately I cannot set the code to the main table io section because the users want the new number when they start to input a new record.
Can someone help me?
Thanks
Alex Preyer