Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Change currency symbol in reports dynamically

135 views
Skip to first unread message

SimeonD

unread,
Mar 19, 2008, 8:23:26 AM3/19/08
to
Hi
I have an access database that now needs to deal with multi currency. Using
code, I have just changed the format on all text boxes in forms from Euro to
Standard.
I could do the same on reports, but it would be better if the currency
symbol was on the printed report, as it is given to customers. Can anyone
think of a way to do this?
Some kind of custom format?

Thanks
Simeon


SimeonD

unread,
Mar 19, 2008, 10:22:48 AM3/19/08
to
All the figures will be in the one currency.
I've tried to write my own custom format, but how do I call a vb function
from the format property of the text box?


"tedmi" <te...@discussions.microsoft.com> wrote in message
news:01C5CF7B-B6F8-4F8E...@microsoft.com...
> Yes, that can be done in the Open event of your report. You need to
> provide
> the report with some indication of the nationality of the currency. Will
> all
> figures on the report be in one currency? If so, you could pass the
> currency
> symbol, or the formatting string, in the OpenArgs of the report.
> --
> TedMi
>


Klatuu

unread,
Mar 19, 2008, 2:51:02 PM3/19/08
to
You can't.
If all currency in the report will be the same currency, then as tedmi
suggested, use the report's open event to supply the formatting.
--
Dave Hargis, Microsoft Access MVP

SimeonD

unread,
Mar 20, 2008, 6:11:53 AM3/20/08
to
Fair enough, thanks. I was trying to take the lazy way out, use replace
instead. Heh.


"Klatuu" <Kla...@discussions.microsoft.com> wrote in message
news:D1E5491B-2FCC-4384...@microsoft.com...

tedmi

unread,
Mar 19, 2008, 9:23:02 AM3/19/08
to
0 new messages