J
JIMMIE WHITAKER
Is the below query posible in vb code only? It works great as is in a
query. I read that to use Dsum, a table or query is required. Is there
another way around that?
The maim part of interest starts at AS Expr1. The query is query 5 by the
way, and dsum is summing on expr1 giving a current total in a checking
account. I want to make an mde and hide code, and not use query grid if
possible. Thanks
SELECT Transactions1.TN, Transactions1.TransactionDate,
Transactions1.TransactionDescription, Transactions1.WithdrawalAmount,
Transactions1.WDCLR, Transactions1.DepositAmount, Transactions1.DEPCLR,
NZ([Transactions1]![DepositAmount])-NZ([Transactions1]![WithdrawalAmount])
AS Expr1, Format(DSum("[Expr1] ","QUERY5","[TN] <=" & [TN]),"Currency") AS
BAL
FROM Transactions1
ORDER BY Transactions1.TN;
query. I read that to use Dsum, a table or query is required. Is there
another way around that?
The maim part of interest starts at AS Expr1. The query is query 5 by the
way, and dsum is summing on expr1 giving a current total in a checking
account. I want to make an mde and hide code, and not use query grid if
possible. Thanks
SELECT Transactions1.TN, Transactions1.TransactionDate,
Transactions1.TransactionDescription, Transactions1.WithdrawalAmount,
Transactions1.WDCLR, Transactions1.DepositAmount, Transactions1.DEPCLR,
NZ([Transactions1]![DepositAmount])-NZ([Transactions1]![WithdrawalAmount])
AS Expr1, Format(DSum("[Expr1] ","QUERY5","[TN] <=" & [TN]),"Currency") AS
BAL
FROM Transactions1
ORDER BY Transactions1.TN;