Jos... you are right, thanks for the reminder!
I'm trying to use LOCK() too. Because ISRLOCKED() had a Problem and I had to use LOCK() because of that.
Sorry Mo. Scan the Table instead of using count.
Marvin Blase (tA-logistic Software GmbH)
You'll never notice the good things if you haven't seen the bad.