how to calculate total (1 Viewer)

rafiq

New member
Local time
Today, 11:08
Joined
Mar 9, 2011
Messages
1
Hi, i am trying to calculate total in feild but it doesnt work. I have to calculate credit and debit but when i am trying credit - debit it is showing result of particular row but i have 2 put last total to show actual result.

example

Count desc cr dr total
1 a 1 0 1
2 b 0 1 -1 ( here i have to declare 0 for orignal result)

i am trying update querry which is as follows:
UPDATE Customer INNER JOIN Memo ON Customer.Count = Memo.Count SET Memo.Total = Memo.Credit - Memo.Debit;

plz let me know what i have to do for actual result.

Regards
Rafiq
 

chiyyoor

New member
Local time
Today, 12:38
Joined
Mar 9, 2011
Messages
2
i hav same problem
would like to create a query like table"1","2","3" from(based on) 'master' table
sample db attached herewith
regds
mahmood
 

Attachments

  • New.accdb
    508 KB · Views: 112

khawar

AWF VIP
Local time
Today, 11:08
Joined
Oct 28, 2006
Messages
870
Use running sum in report it is the place where you can handle this type of things better
 

chiyyoor

New member
Local time
Today, 12:38
Joined
Mar 9, 2011
Messages
2
Use running sum in report it is the place where you can handle this type of things better

i m using this as back-end of vb program
if it possible, i can find op balance n closing balance of particular dates and there are other advantages.
 

Users who are viewing this thread

Top Bottom