Answered
Order Tracker
Hello,
I am creating a database in which to store my orders, I have designed my order number to be the a combination of the letters 'ORD' and a number. The number would be based on a variable that is initialized and incremented by 1 for each order recieved.
My problem is that I can't seem to decide which variable is best for this. I had initially thought it would be an application variable, but I have read that these are good for variables that rarely change.
I would appreciate suggestions on a good way to implementing an increasing variable that is independent of the user and will not be re-initialized any time the application is restarted.
Thanks
I am creating a database in which to store my orders, I have designed my order number to be the a combination of the letters 'ORD' and a number. The number would be based on a variable that is initialized and incremented by 1 for each order recieved.
My problem is that I can't seem to decide which variable is best for this. I had initially thought it would be an application variable, but I have read that these are good for variables that rarely change.
I would appreciate suggestions on a good way to implementing an increasing variable that is independent of the user and will not be re-initialized any time the application is restarted.
Thanks
