Skip to main content
I need one of my forms to create an autonumber for processing purposes. Can anyone give me step by step instruction on how to do this?

Thanks
Hi,

You will need to store a 'seeding' value in a database or file (some place other than the K2 database). Then, on Smartform startup, read this value, increment it by one and save it back to specific location.

Another option would be to link the 'autonumber' to the ProcInstID of the process. Just remember that if your smartform is a Plan page, the Procinstid does not yet exist at the time of startup.

There is really a lot of ways you can do this. You'll have to investigate this a bit further and decide which one will suit you best.

Regards,
Ockert

Reply