× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Perhaps you may want to use the %EDITW function?

> On 8/6/2010 8:58 AM, David FOXWELL wrote:

This must be obvious, but not to me :

User enters a date which must be between 2 dates.

IF DateEntered> TodaysDate OR
DateEntered< minimumDate;
message = 'Use date between 11.11.1111 and 22.22.2222'; // Message returned by a standard error procedure.
message = %XLATE ( '11.11.1111' : %CHAR ( minimumDate ) : message );
message = %XLATE ( '22.22.2222' : %CHAR ( TodaysDate ) : message );

ENDIF;

How on earth am I getting this at the end : message = 'Use date between 00.00.0000 and 00.00.0000' ?

Ps : I realize I don't NEED the xlate function.


Thanks.

As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.