Hello, all
I am a new one here and I have a question to ask. If in a java application, I want to print things like checks or other SEQUENTIAL documents. I set up an initial number in the database, say 1000, and each time I print, I increase the number by 1, so next time it'll start with 1001, and so on... My question is: do I have a way to check whether THIS one has been printed, only when it is printed, then I need to increase the number. Since printing and updating database are two different process, one could fail and the other one may still go on.
Thanks in advance for any suggestions.
Lynn