Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2016
    Location
    Chatsworth, GA (Northwest corner of state)
    Posts
    23

    Replace existing transactions with a balance forward summary


    I am trying to create a query which will produce the sum of a customer's transactions prior to a given date which I will then need to replace each selected customer's data with the results of the query as 'Balance Forward'. I have had no luck creating the query and no idea how to insert the new data.

    There are two tables, a customer table with field CUST_NUM linked to a transaction table using field ACCTNO. The cutoff date would come from a third table set at execution time.

    I would greatly appreciate any help in setting this up.

    Other fields which would have to be not added in the replaced record are DESC, TDATE, TAMOUNT and TAX.

    David Wright Sr.

  2. #2
    andy49's Avatar
    andy49 is offline VIP
    Windows 10 Access 2007
    Join Date
    Nov 2016
    Location
    London
    Posts
    1,051
    You might want to consider renaming field desc as it's a key word in sql.


    Sent from my iPhone using Tapatalk

  3. #3
    Bob Fitz's Avatar
    Bob Fitz is offline Access Developer
    Windows 7 32bit Access 2013
    Join Date
    May 2011
    Location
    Essex UK
    Posts
    3,537
    Perhaps you could do this with a "Totals" query with criteria set on the TDATE column
    If this helped, please click the star at the bottom left of this posting and add to my reputation . Many thanks.
    Bob Fitzpatrick

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

Similar Threads

  1. Carried forward balance
    By fisseha in forum Access
    Replies: 9
    Last Post: 02-09-2017, 03:25 AM
  2. Replies: 3
    Last Post: 02-03-2017, 02:37 PM
  3. Carry Forward / Opening Of Balance
    By aamer in forum Access
    Replies: 4
    Last Post: 03-05-2016, 12:28 PM
  4. carry forward of balance
    By iamvenu in forum Access
    Replies: 1
    Last Post: 02-07-2016, 07:56 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