Normal Topic WordMerge Lite...dates not behaving well... (Read 467 times)
Cliff
Full Member
***
Offline



Posts: 126
Location: New Hampshire
Joined: May 5th, 2006
WordMerge Lite...dates not behaving well...
Jul 24th, 2007 at 7:44pm
Print Post Print Post  
We hve forms that require they be printed as they are encoded in Sesame...such as 7/24/2007.
WordMerge Lite appears to be too helpful in that all dates are automatically converted to July 24, 2007.

I've wrestled with the WML program file and have tried to play with the UDF's, particularly the "FD" function but alas...I am forced to cry uncle...

As always...any and all help is very much appreciated...

Cliff
  
Back to top
 
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: WordMerge Lite...dates not behaving well...
Reply #1 - Jul 24th, 2007 at 8:09pm
Print Post Print Post  
Hello Cliff,

Try replacing the FD function with the one below.

Code
Select All
FUNCTION FD(theDate as Date) as String

var stringDate as String = @Month(theDate) + "/" + @DOM(theDate) + "/" + @Year(theDate)

return stringDate

END FUNCTION 



-Ray
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Cliff
Full Member
***
Offline



Posts: 126
Location: New Hampshire
Joined: May 5th, 2006
Re: WordMerge Lite...dates not behaving well...
Reply #2 - Jul 27th, 2007 at 2:41pm
Print Post Print Post  
All I can say is "you da man"!!

Thanks!!!

Cliff
  
Back to top
 
IP Logged