‎2007 May 14 12:31 PM
Hi,
I have an issue. I want to use dynamic variants in my program. On the selection screen of my program, I have a parameter called Planning date which takes in the current week of the year as input value, i.e lets say today we are Monday 14th of May 2007, so the current week is 20. I want to make this parameter dynamic, i.e to change automatically so that next week the value is week 21.
Also is setting dynamic variants version dependent? My version is 5.0 SR1 and I don't have the option of save my variant using the 'D' traffic signal.
Please help me out.
Thanks
‎2007 May 14 12:36 PM
Hi,
you can fill your parameter in the initialization event of your report. In order to get the week you can use the function DATE_GET_WEEK.
Kostas
‎2007 May 14 1:04 PM
Thx for the answer. But I would like to have a solution which does not entail changing my current code.
Thx again.