Skip to Content
0
Feb 18, 2009 at 11:40 AM

I need a Formula fox to add 1 year to 0FISCYEAR

489 Views

Hello

I need a formula Fox to copy data in a cube adding 1 year to the temporal characteristics 0FISCYEAR and 0CALYEAR.

In the filter I have a variable for the 0FISCYEAR (ZEXERCICIO)

Already experienced Year = Year +1 but the system says the formula is wrong.

Exemple:

"

DATA ANO TYPE 0FISCYEAR.

DATA ANOCIVIL TYPE 0CALYEAR.

ANO = VARV('ZEXERCICIO')+1.

ANOCIVIL = ANOCIVIL+1

.

.

."

Can you help me?

Thanks