Start New Discussion Reply to this Discussion Problem with ADO and MS Access database programming
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
Related Article: Viewing/Printing MS Access reports in Delphi
is a Pascal and Delphi discussion thread by OASys1 that has 1 reply, was last updated 1 year ago and has been tagged with the keywords: access, delphi, report.
ztparker
Newbie Poster
1 post since Apr 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
Did you solve the problem ?
PlotHost
Newbie Poster
5 posts since Apr 2011
Reputation Points: 10
Solved Threads: 0
Skill Endorsements: 0
© 2013 DaniWeb® LLC
Page rendered in 0.0552 seconds
using 2.64MB