F
Faraz Azhar
I have a small table in which I'm recording my receivables and
payables in a table called "Settlements". It has only 3 columns:
Receivable By, Receivable From, and Amount. We are 4 persons whose
data is maintained here.
Currently it has the following data:
Recv From Recv By Amount
FA AM 100
FA MB 132
MB FA 34
AM MB 43
FA AM 76
I would like to generate a report in which only 'net' totals of these
are appearing, ie. the amount receivable and payable from the same
person is set-off. For example in the following format:
FA Details
Receivable from AM 176
Receivable from MB 98
AM Details
Receivable from FA (176)
Receivable from MB 43
MB Details
Receivable from FA (98)
Receivable from AM (43)
The above balances are set-off against each other, e.g. if MB owes FA
132 and FA owes MB 34 then net balance is 98 which is payable by MB to
FA, and receivable by FA from MB.
Also another logical problem is that the number of persons in this
database is not restricted to 4. It may increase later on. I currently
have a separate table named "Employees". The "Settlements" table is
linked up with "Employees" table. It picks up the names from there. I
have created a lookup in "Settlements" table for 'Receivable By' and
'Receivable From' fields. So I may add more names in "Employees" table
later on therefore the report format will have to be flexible for more
names to be added later on.
I'm unable to generate such kind of report. I need help from you guys.
Thank you
Faraz Azhar
payables in a table called "Settlements". It has only 3 columns:
Receivable By, Receivable From, and Amount. We are 4 persons whose
data is maintained here.
Currently it has the following data:
Recv From Recv By Amount
FA AM 100
FA MB 132
MB FA 34
AM MB 43
FA AM 76
I would like to generate a report in which only 'net' totals of these
are appearing, ie. the amount receivable and payable from the same
person is set-off. For example in the following format:
FA Details
Receivable from AM 176
Receivable from MB 98
AM Details
Receivable from FA (176)
Receivable from MB 43
MB Details
Receivable from FA (98)
Receivable from AM (43)
The above balances are set-off against each other, e.g. if MB owes FA
132 and FA owes MB 34 then net balance is 98 which is payable by MB to
FA, and receivable by FA from MB.
Also another logical problem is that the number of persons in this
database is not restricted to 4. It may increase later on. I currently
have a separate table named "Employees". The "Settlements" table is
linked up with "Employees" table. It picks up the names from there. I
have created a lookup in "Settlements" table for 'Receivable By' and
'Receivable From' fields. So I may add more names in "Employees" table
later on therefore the report format will have to be flexible for more
names to be added later on.
I'm unable to generate such kind of report. I need help from you guys.
Thank you
Faraz Azhar