Results 1 to 5 of 5
  1. #1
    aamer is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Location
    Pakistan
    Posts
    276

    Carry Forward / Opening Of Balance

    Carry Forward / Opening of balance



    I am trying to add Carry Forward / Opening of balance to a report.
    I am stuck, what and how to add the formulas to a query or report.
    Can someone guide me.

    Below is the format of the report and also have attached the sample DB.


    Click image for larger version. 

Name:	Pix.jpg 
Views:	31 
Size:	225.1 KB 
ID:	23948






    SAMPLE DB: Op A00 Op A00.zip

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Try to keep formulas in the query. I hope the balance is in the table, but you can do calculations in a query cell.
    Balance: [field1]-[field2]

  3. #3
    aamer is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Location
    Pakistan
    Posts
    276
    Try to keep formulas in the query. I hope the balance is in the table, but you can do calculations in a query cell.
    Balance: [field1]-[field2]
    To achieve this I need to have a Dsum Value. for which I don't know what formula to use in query or report.

  4. #4
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    you don't use Dsum in a query (nor Dcount, etc), the query does the summing.

  5. #5
    aamer is offline Competent Performer
    Windows 7 Access 2007
    Join Date
    Jul 2010
    Location
    Pakistan
    Posts
    276
    Try to keep formulas in the query. I hope the balance is in the table, but you can do calculations in a query cell.
    Balance: [field1]-[field2]
    which Field2 is to be subtracted from Field1 Where as the query on the form is:


    SELECT DISTINCT [1 Pchase].PurCoId, [1 Pchase].PurCompanyName, Sum([1 Pchase].[Total Amount]) AS [SumOfTotal Amount], [1 Pchase].PurDate, [1 Pchase].PurTransId
    FROM [1 Pchase]
    GROUP BY [1 Pchase].PurCoId, [1 Pchase].PurCompanyName, [1 Pchase].PurDate, [1 Pchase].PurTransId
    HAVING ((([1 Pchase].PurCompanyName)=[Forms]![COPBDTTL].[CboPByco]));

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

Similar Threads

  1. carry forward of balance
    By iamvenu in forum Access
    Replies: 1
    Last Post: 02-07-2016, 07:56 AM
  2. Replies: 6
    Last Post: 07-31-2015, 12:03 PM
  3. General Ledger Query With Opening Balance and Running Balance
    By muhammadirfanghori in forum Queries
    Replies: 3
    Last Post: 03-12-2015, 07:17 AM
  4. Replies: 1
    Last Post: 02-26-2015, 11:31 AM
  5. Balance forward generation on Petty Cash Report
    By Jmeyering in forum Reports
    Replies: 10
    Last Post: 11-09-2012, 03:05 PM

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