The Open event will not work for what you are trying to do. In my first
response I said that you need to use the Print event. The Open event runs
once when the form is open. It does not run when you go to a different
record. More responses inline.
Ixak said:
I continue without succeding.
All this I write I am doing it in open report, I don´t know if it is the
best place, but non of the choices have succeded.
My aim, more detailed is the next one. What I want to change is one of te
headers, this might cause a problem?
Hello
I have a textbox which contains the month and year.
It calculates as =Format$([soldmonth];"mmmm aaaa";0;0)
Does this work? It looks as if you have combined the Input Mask syntax
with the Format function. There are some optional arguments in the Format
function for First Day of Week and First Week of Year, but I believe they
are separated by commas, and I can't think why you would want them anyhow.
Also, Year is "yyyy". What is [soldmonth]? Is it a Date/Time value?
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 = ....
A text box does not have a caption, and a label does not have a value.
You can review the previous postings for the correct syntax.
Where and how should I write this code?
In the Print event, as described previously.
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 ...
Is it a form or report?