Results 1 to 4 of 4
  1. #1
    shah1419 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    30

    Put an Balance into Arrears

    Click image for larger version. 

Name:	1.JPG 
Views:	18 
Size:	78.7 KB 
ID:	12272Respcted,
    i am facing a problem.i want to insert balance amount into arrears column for every record.i have insert the january fees and the parents have paid less amount from the challan.when i insert the Febuary fee and insert the balance amount in Arrears coulmn for each record.Please see the attached file...
    pls advised me.
    Regards

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,641
    This is easiest done on reports because there a textbox has a RunningSum property.

    For a form, Google: Access form running sum
    Review:
    http://www.tek-tips.com/faqs.cfm?fid=5248
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    shah1419 is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Jan 2013
    Posts
    30
    but i want in form

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,641
    Calculating with value in another record of same table is not simple. In addition to the link already provided review http://allenbrowne.com/subquery-01.html#YTD. Also, if user is allowed to sort and/or filter the form records, the running balance could be wrong.

    Could try something like:

    Nz(DSum("Nz([Adm],0)+Nz([Reg],0)+Nz([Tuition],0)-Nz([Paid],0)", "tablename", "GRno=" & [GRno] & " AND DateEnter<=#" & [DateEnter] & "#"),0)
    Last edited by June7; 06-16-2013 at 03:54 AM.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. How to get Prior Balance
    By jalals in forum Programming
    Replies: 1
    Last Post: 04-23-2013, 07:37 AM
  2. Balance in access
    By sha1023012 in forum Access
    Replies: 1
    Last Post: 10-31-2012, 07:06 PM
  3. account balance db help
    By Suzie2012 in forum Database Design
    Replies: 2
    Last Post: 07-15-2012, 09:16 PM
  4. opening balance
    By bazahara in forum Access
    Replies: 1
    Last Post: 02-19-2012, 11:37 PM
  5. I want MSN appear when I am out of balance
    By miziri in forum Programming
    Replies: 4
    Last Post: 06-20-2010, 02:53 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums