>Dear Hilmar,
>
>Thanks very much for your code. The inventory system seems very similar to my situation. I will shortly (over the next 2-3 days, since I am constantly on the move) adapt the code to my model, and see how it works.
>
>Thanks once again. I truly appreciate it.
>
>regards,
>
>Steve.
You are welcome.
Please note that since I improvised the code, some corrections will likely be necessary, and perhaps additional controls for error conditions.
Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)