flect
06-24-2008, 05:14 PM
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
Private Sub report_open(cancel as Integer)
StockValA.Format = and what i'm logically thinking is
Private Sub report_open(cancel as Integer)
StockValA.Format = [tblagency].[currencyformat] where [agentID]=forms!frmnavigation!masterfilterBut obviously that syntax is incorrect and my VB experience is limited.
:confused:
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
Private Sub report_open(cancel as Integer)
StockValA.Format = and what i'm logically thinking is
Private Sub report_open(cancel as Integer)
StockValA.Format = [tblagency].[currencyformat] where [agentID]=forms!frmnavigation!masterfilterBut obviously that syntax is incorrect and my VB experience is limited.
:confused: