Hi Cetin
>Do you think it's only VFP version that has changed? It looks like there is something wrong in assumption.
I have replaced the whole of method's code to just call the FBNewID() function I use for nos. generation. And I have got the functionality and secondly I have only one place to change the code in future.
Thanks.