DonkeyOte,
Thanks for your code, it seems nice! However, when I used it the line
Activates only the new data field and deactivates the other..? And I have a PT with only one column. I don't know why this is happening though. Do you?
I think I can at the moment cope with the fact that I can only change one month at a time. But I would like it to be possible to change the date one month backwards. So I tried to solve this by using ChangeInMonths variable: if it is positive it works as your code and if it is negative it should add a new data field as a first column in a PT. If it is bigger than 31 code will produce an error message.
So this is when a new problem comes along.. how can I add a new data field in to the first column if the ChangeInMonths is negative..?
-John
Bookmarks