Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Dsum transactions with the same date

Status
Not open for further replies.

rudolfelizabeth

Programmer
Jan 14, 2009
89
CW
How do you solve the following problem in a transaction query.

If you have three transactions for the same customner on the same date.
AliasBalcarryforwardruntotal2: DSum("Nz (Debit-credit,0)","transactions2","clientnumber=" & [clientnumber] & " and [Transdate]<=#" & Format([Transdate],"mm-dd-yyyy") & "#")


I used the above code but access used the same value on these date
I incorporate the id value it didnot work either you don't get the correct value for each date.

Another thing where do you find the macro setvalue command in access 2007



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top