Dear Friends:
I just want to ask you this question:
I have two tables:
one is sales table called {Posheader} and the second {Tax}.
the fileds are:
POSHEADER
---------
transact 1 |2 |3
Amount 1650 |1500 |3300
Tax1 150 |0 |300
TAX
---
Tax1 10 //10% value
Tax2 0
Tax3 0
the question is that i want to show in my report the sum of all taxes, taxable amount and non taxable amount
for transaction 1 tax=150 taxable=150*tax1=1500 and nontaxable=amount-taxable-tax=1650-1500-150=0
But the problem is that there is no link between the 2 tables. (the table of tax can be maximum one record)
Any suggestions?
very urgent!
I just want to ask you this question:
I have two tables:
one is sales table called {Posheader} and the second {Tax}.
the fileds are:
POSHEADER
---------
transact 1 |2 |3
Amount 1650 |1500 |3300
Tax1 150 |0 |300
TAX
---
Tax1 10 //10% value
Tax2 0
Tax3 0
the question is that i want to show in my report the sum of all taxes, taxable amount and non taxable amount
for transaction 1 tax=150 taxable=150*tax1=1500 and nontaxable=amount-taxable-tax=1650-1500-150=0
But the problem is that there is no link between the 2 tables. (the table of tax can be maximum one record)
Any suggestions?
very urgent!