Date Time Controls Comparision

  • 10 April 2015
  • 1 reply
  • 2 views

Badge +6

Hi, I have to compare two date time controls, Work From and Work To.

Work from should always be less than Work To, I inserted one Data lebal and build the attached exoression but how do I display the message to user for wrong data entered.

 

Regards,

Ram


12335i002CE7CFFB9CD1A5.jpg

1 reply

Userlevel 5
Badge +16

Dear,

 

you expression should be Day Difference, you give it the both calendars, 

 

now you set a rule when WorkTo changed

 

if datalable < 0 

 

show msg

 

and you set the same rule when WorkFrom change. in case the user choose date from WorkTo befor WorkFrom

 

 

Reply