Hi there
I have a stock control / stocktake report system that deals with a few different countries.
Pretty much all of these countries have their own unique currency format.
Initially I had several copies of my database, one for each country with the appropriate number formats already programmed in on my reports.
Now i'm trying to consolidate all of those individual db's into one big one.
So far it's been successful but I'm still having to go in and manually change the number formats on the reports before printing.
How can I program my text boxes to retrieve the appropriate currency format from the appropriate table??
i've started with
and what i'm logically thinking is
But obviously that syntax is incorrect and my VB experience is limited.

I have a stock control / stocktake report system that deals with a few different countries.
Pretty much all of these countries have their own unique currency format.
Initially I had several copies of my database, one for each country with the appropriate number formats already programmed in on my reports.
Now i'm trying to consolidate all of those individual db's into one big one.
So far it's been successful but I'm still having to go in and manually change the number formats on the reports before printing.
How can I program my text boxes to retrieve the appropriate currency format from the appropriate table??
i've started with
Code:
Private Sub report_open(cancel as Integer)
StockValA.Format =
Code:
Private Sub report_open(cancel as Integer)
StockValA.Format = [tblagency].[currencyformat] where [agentID]=forms!frmnavigation!masterfilter