Sorry had a meeting all afternoon.
I'll try and take a look, but I've got something I _have_ to finish tonight.
Again, I would countenance generating the code with trace and then B4A will show you where the error occurred in the code. If it's not in your code, then at least you'll be able to see that as well.