Hi,
I am trying to create a running total using DSUM in an example list below:
But it is causing my machine to lag so Im wondering if my code is wrong
Customer Date DC Balance
Client 1 14/01/19 10 10
Client 1 14/01/19 15 25
Client 1 25/01/19 30 55
Client 2 14/01/19 20 20
Client 2 25/01/19 70 90
This is my sql query below:
SELECT
DSum("[DC]","[Cleansed Consolidated]","[Customer]='" & [Customer] & "' And [ID] <=" & [ID]) AS Balance,
*
FROM [Cleansed Consolidated];
Im not very pro-efficient in Access unfortunately
Many thanks for your help
I am trying to create a running total using DSUM in an example list below:
But it is causing my machine to lag so Im wondering if my code is wrong
Customer Date DC Balance
Client 1 14/01/19 10 10
Client 1 14/01/19 15 25
Client 1 25/01/19 30 55
Client 2 14/01/19 20 20
Client 2 25/01/19 70 90
This is my sql query below:
SELECT
DSum("[DC]","[Cleansed Consolidated]","[Customer]='" & [Customer] & "' And [ID] <=" & [ID]) AS Balance,
*
FROM [Cleansed Consolidated];
Im not very pro-efficient in Access unfortunately
Many thanks for your help