Hi all,

I am trying to produce a basic till system, and at current am using an ADOquery to bring up the items ordered along with their relevant prices in a DBGrid.

What I now need to be able to do is use the price values contained within the DBGrid to work out the total cost of the bill (i.e. I need to be able to sum all the prices in the DBGrid) and then ouput this total cost to a label or edit box when I click on a button.

I hope that this is possible and that one of you kind people will be able to show me a solution to my dilema.

Best Regards

Did you solve the problem ?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.