Ok so we ended up doing all the calculations outside of the ecart object and dos everything on the various php pages, so would it then be possible if we did all the recordsets and they were held as session variables then I could move all the calculations inside the ecart object. To keep things clean in terms of code. I guess there were a few IF statements though that were used that couldn't get moved into the ecart object. I like the idea of doing all my calculations in the ecart object as it helps with making modifications quickly in the future plus it helps revisiting the code if I left it for many months and need to revisit it for what ever reason. So the more I can do in the ecart object the better :)