No. You're not using Code Replacement in that example. You've invented a new variable that doesn't exist (it won't output anything).
It needs to be like this:
{year4}-={year4}=/{year4}-{month0}-{day0}
-Kirk
Sorry, I lost track of this for a while.
I actually didn't explain what I meant with the phrase {year4}-{quarter}/{year4}-{month0}-{day0}
I wanted to show my
desired result. Something like
2019-Q1/2019-02-16
for today's date would have been the
result I'd like to achieve. So of course the variable {quarter} does not exist (yet
)
But generally I couldn't find a way to have the varying results from the {month0} variable in the Code column of a code replacement file.
The second column (Replacement column) is easy. It would be
1
1
1
2
2
2
3
3
3
4
4
4
with a tab in front of each value. But what would go in the Code column?
Wouldn't that rather require something like a formula like
IF {month0} is between 1 and 3 THEN the result is 1
IF {month0} is between 4 and 6 THEN the result is 2
and so on.
Code replacement can't do this though, right?
Anyway, thank you for your help so far!!
Thomas