Microsoft Access Forums

Go Back   Microsoft Access Forums > Access Forums > Programming

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 04-04-2006, 10:02 PM
wasim_sono wasim_sono is offline Windows XP Access 2007 (version 12.0)
Advanced Beginner
 
Join Date: May 2005
Location: Pakistan
Posts: 68
wasim_sono
Default Txt box on form showing 'Balance'

Dear All

I'm designing a form for Bank transactions. For this I have fields Debit. Credit, Balance, Cheque no etc.... I need to show the balance in balance field as if user enter amount in Debit field then the balance field minus that amount form Balance field and similarly if he enter amount in Credit field then balance field plus that amount in balance field. I think balance filed should show running total but how I don't know.
If anyone solve this problem I 'll be very thankful.


Regards.

Wasim
Reply With Quote
  #2  
Old 04-25-2006, 03:58 AM
Novice
 
Join Date: Apr 2006
Posts: 4
Katada
Send a message via Yahoo to Katada
Default

Dear Wasim;

As I understood that you have 3 fields debit, balance, credit. So, try to put the following code in Event "After Update" for Credit field:

[balance]=[balance]+[credit]

if it work, then try the same with debit but (-) operation.

Katada
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
fields not showing up in Form view eroy Forms 1 12-17-2008 04:58 AM
HELP NEEDED: Running Balance with Data Containing NULL dustonheaven Queries 2 11-12-2008 02:36 PM
Data Not Showing in Reports Delin Reports 1 01-26-2006 05:53 PM
Adding Running Balance from Form to Reports KIDGEO3 Reports 1 01-18-2006 05:52 AM
Null Values not showing up in a Query Valli Queries 0 01-04-2006 12:53 PM


All times are GMT -8. The time now is 08:24 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.