How do you compare two Dates in SalesLogix?

Question:

I’m having a problem to comparing 2 dates, because SalesLogix converts it for the US Date (Ex: 04/20/2011), and I use the British format (Ex: 20/04/2011)..

Someone know a function to convert this? American to British in slx?

Answer:

a Date value is a Date value.
Are comparing two String representations of Dates.

What you need to do is try to obtain the Actual DateTime, and make sure that you work with Date or Doubles

Use CDate() or CDbl() as necessary to handle your date values and variables accordingly.

Submit a Comment

Your email address will not be published. Required fields are marked *

Subscribe To Our Newsletter

Join our mailing list to receive the latest Infor CRM (Saleslogix) news and product updates!

You have Successfully Subscribed!