eveCalypso
Programmer
Hello All,
I am finally getting somewhere with my reports, however, I do have another problem (small I think).
I am reporting off a transactions table and are displaying the results.
I have a table called CurrVatPerc which holds the current VAT(tax) percentage applied to goods.
I would like the following:
.... Amount VAT (Calculated from table) TOTAL
So, in the VAT field, I would like to be able to reference my getVat procedure in my general functions module, something like:
=genProc.getVat * [amountFromDB]
Firstly, I do not know how to do this - I do not have access to the texbox's control source property in the Report's Open event (?).
In theory I could probably include the Vat Table in my Stored Procedure and calculate it from there, but my stored proc is pretty complex as it is already (GROUPS etc). Wondered if I could do this via code instead.
Needless to say, the Total needs to be =[AmountFromDB]+[txtVat] - which doesn't work either.
I reckon I have a syntax problem!
Regards,
EvE
I am finally getting somewhere with my reports, however, I do have another problem (small I think).
I am reporting off a transactions table and are displaying the results.
I have a table called CurrVatPerc which holds the current VAT(tax) percentage applied to goods.
I would like the following:
.... Amount VAT (Calculated from table) TOTAL
So, in the VAT field, I would like to be able to reference my getVat procedure in my general functions module, something like:
=genProc.getVat * [amountFromDB]
Firstly, I do not know how to do this - I do not have access to the texbox's control source property in the Report's Open event (?).
In theory I could probably include the Vat Table in my Stored Procedure and calculate it from there, but my stored proc is pretty complex as it is already (GROUPS etc). Wondered if I could do this via code instead.
Needless to say, the Total needs to be =[AmountFromDB]+[txtVat] - which doesn't work either.
I reckon I have a syntax problem!
Regards,
EvE