Change text before generating report

  • Thread starter Thread starter Ixak
  • Start date Start date
I

Ixak

Hello
I have a textbox which contains the month and year.
It calculates as =Format$([soldmonth];"mmmm aaaa";0;0)
I´d like to obtain this information, august 2006 and convert it in another
textbox, in something else, another language.
something like

if soldmonth.caption or value = "august 2006" then
texttranslate.caption or text = abuztua 06
else
if soldmonth.caption or value = "june2006" then
texttranslate.caption or text = ....

Where and how should I write this code?
I mean, I don´t get with this options and I don´t know in which event I
should write them. When opening the form, or ...
Thanks
 
Ixak said:
Hello
I have a textbox which contains the month and year.
It calculates as =Format$([soldmonth];"mmmm aaaa";0;0)
I´d like to obtain this information, august 2006 and convert it in another
textbox, in something else, another language.
something like

if soldmonth.caption or value = "august 2006" then
texttranslate.caption or text = abuztua 06
else
if soldmonth.caption or value = "june2006" then
texttranslate.caption or text = ....

Where and how should I write this code?
I mean, I don´t get with this options and I don´t know in which eventI
should write them. When opening the form, or ...
Thanks

Why not just create a table containing all the translation stuff you
need (the months)
8, "August", "abuztua" etc. and then use the table to do the
translation for you? just use DLookup
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top