claudeless
|
| Posted: 08/08/2005, 6:44 AM |
|
I am Trying to take the Value of RenewalMonths and add it to the date(m) + rm1
I can not seem to get the value to Pass over..
This is the CODE EXPRESSION i am using.... IF I replace the rm1 with a number it works... so i know that is correct.
date("m/d/y", mktime(0, 0, 0, date(m) + rm1 , date(d), date(y)))
Here is the Custom Code I Wrote.. I have tried different things..
global $StatusEU;
global $rm1;
// Write your own code here.
$StatusEU -> rm1 -> SetValue(RenewalMonths ->GetValue());
|
|
|
 |
Damian Hupfeld
|
| Posted: 08/09/2005, 4:05 AM |
|
What are you adding your custom code to?
Before Show?
Before Show Row?
Are you adding it to a label or what?
Maybe add a Hidden Text Field and set your value here. Then you could do a
View Source and see if the value is being set.
regards
Damian Hupfeld http://www.nexthost.com.au/services.php
"claudeless" <claudeless@forum.codecharge> wrote in message
news:542f761d959c8b@news.codecharge.com...
>I am Trying to take the Value of RenewalMonths and add it to the date(m) +
>rm1
>
>
> I can not seem to get the value to Pass over..
>
> This is the CODE EXPRESSION i am using.... IF I replace the rm1 with a
> number
> it works... so i know that is correct.
>
> date("m/d/y", mktime(0, 0, 0, date(m) + rm1 , date(d), date(y)))
>
> Here is the Custom Code I Wrote.. I have tried different things..
>
> global $StatusEU;
> global $rm1;
>
> // Write your own code here.
> $StatusEU -> rm1 -> SetValue(RenewalMonths ->GetValue());
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|