V
Veli Izzet
Hi,
I have a table where I keep the transactions:
Table is :
TransactionID
TransactionValue
TransactionDate
Creditor
Debtor,
etc.
The Creditor and Debtors are Banks, Cash, Expenditures, or People, and
they may pay or get paid. (Like I transfer xxx amonut from Bank1 to
Bank2 one day and vice versa the next day)
What I want to do is be able to create reports about their standing
situations (the transactions too) for these.
I can create a query, where I can single out the Creditor/Debtor using:
stLinkCriteria = "[Borclu] =" & "'" & Me![Cari] & "'" & " OR " &
"[Alacakli] =" & "'" & Me![Cari] & "'"
DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria
I need to multiply the transactionValue by 1 if they are on the Creditor
(Alacakli) side, and multiply it by -1 if they are on the Debtor side,
and do a running total, and print it on the form.
Here I am stuck and need help..
Thanks for answers
I have a table where I keep the transactions:
Table is :
TransactionID
TransactionValue
TransactionDate
Creditor
Debtor,
etc.
The Creditor and Debtors are Banks, Cash, Expenditures, or People, and
they may pay or get paid. (Like I transfer xxx amonut from Bank1 to
Bank2 one day and vice versa the next day)
What I want to do is be able to create reports about their standing
situations (the transactions too) for these.
I can create a query, where I can single out the Creditor/Debtor using:
stLinkCriteria = "[Borclu] =" & "'" & Me![Cari] & "'" & " OR " &
"[Alacakli] =" & "'" & Me![Cari] & "'"
DoCmd.OpenReport stDocName, acPreview, , stLinkCriteria
I need to multiply the transactionValue by 1 if they are on the Creditor
(Alacakli) side, and multiply it by -1 if they are on the Debtor side,
and do a running total, and print it on the form.
Here I am stuck and need help..
Thanks for answers