cancel
Showing results for 
Search instead for 
Did you mean: 

VC Issue? Date For InputFields

Former Member
0 Kudos

Hi All,

We requirement As Follows.

We Have TWO Fileds DATE1 And DATE2.

We Need Dynamically Change According DATE2 To DATE1.

DATE2:17/03/2008

DATE1:17/02/2008

As Per Cahnges in Date2 It Changes Previous Month Date To DATE1.

Please repond ASAP.

Thanks

SubbaRao Chinta

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

The function DADD changes the date according to your parameters, so in your case :

DATE2 = DADD(DATE1,-1,'M')

Regards,

Luba.

Former Member
0 Kudos

Hi,

Use the formula mentioned by Luba.Luba is a very Exeperienced person in Visula composer.

Regards,

Govindu

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

the formula is not working .it has some issue .

Regards,

Govindu

Former Member
0 Kudos

What issiue does it have ?

Former Member
0 Kudos

Hi Luba,

I checked the formula as below on SP14 with Flex.

I added four datetype input fileds to a form with default values as below.

Date1:DADD(now(),-1,'M').

Date2:DADD(@Date1,-1,'M')

Date3:DADD(now(),+1,'M').

Date4:DADD(@Date3,+1,'M').

Output is like below.

Date1:Feb 18,2008.

Date2:Nov 30,1899.

Date3:Apr 18,2008.

Date4:Jan 31,1900.

Please let me know ur views and i thought its a bug .

Regards,

Govindu

Former Member
0 Kudos

Hello,

This is indeed a bug.

There is a patch to SP14, that has a new runtime (Flex2), if you use this runtime the problem is solved.

But please if you want to add, don't use +, just write the number.

Regards,

Luba.

Former Member
0 Kudos

Hi Luba,

this is not working with Flex2 also.

and I created a Message for the same.

Regards,

Govindu