423,688 Members | 1,889 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 423,688 IT Pros & Developers. It's quick & easy.

How can i Calculate Transactions from DB

P: 10
I've developed a simple banking system containing Deposite and Withdraw.

I am using deposite,withdraw and balance are my database fields

when i try to deposite the last balance fetched and then added with new deposite value i'm using (select last(deposite) from bank) this query to fetch last balance value .

sometimes the arrangement of database value changes so last(balance) value becomes wrong

how can i overcome this problem

if is there any technique to save transaction pls help me
thanking you in advance...
Jan 11 '15 #1
Share this Question
Share on Google+
1 Reply


P: 10
if anyone an't understand my problem please inform i'll post briefly with all DB fields
Jan 11 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.