TOPIC: RRD Variables Problem

RRD Variables Problem 07 Dec 2007 20:10 #57

  • pwpaton
  • pwpaton's Avatar
Hello,
I've discovered the following potential problem with RRD variables. I've created an Action that sends the current date and day of week to a Crystal Report as shown below:
¶m[Date]=%CURRENT_DATE%¶m[Day]=%CURRENT_DAY_OF_WEEK%&

However, if I execute the RRD file and then edit the Action again I notice that it replaces the variables with constants when I look at the RRD file with notepad as below:
¶m[Date]=12-7-2007¶m[Day]=5&

It doesn't seem to replace the variables until I execute it. I can edit it as many times as I want before executing it and nothing changes. Once I execute it, it replaces the variables the next time I edit it.

This is weird and accounted for why the Action wasn't functioning as expected.
Regards, Patrick

Post edited by: pwpaton, at: 2007/12/07 12:11
The administrator has disabled public write access.

Re:RRD Variables Problem 08 Dec 2007 21:00 #58

  • aellis
  • aellis's Avatar
That is an interesting one. So I am guessing you are using the 'Execute RRD' button within Logicity Solution builder? That is certainly a bug, but, as a workaround, create those variables and save your RRD file out. Then run it by double-clicking the RRD file instead of using the 'Execute RRD' within Solution Builder. Thanks for the bug report.
The administrator has disabled public write access.

Re:RRD Variables Problem 11 Dec 2007 22:39 #60

  • pwpaton
  • pwpaton's Avatar
You guessed correctly! I was using the Execute RRD button. For the time being, I will run them as you suggest.
Thanks.
The administrator has disabled public write access.