Normal Topic if then else question (Read 3013 times)
John_Y_Cannuck
Junior Member
**
Offline


decidedly un-geek!

Posts: 97
Location: Lindsay Ontario Canada
Joined: Mar 8th, 2004
if then else question
Mar 2nd, 2005 at 10:05pm
Print Post Print Post  
what's wrong with this?

If Preneed_Purchase_Date < april 1, 1992
then
{
FUND_TYPE = "OLD PRE-NEED"
}
else
{
FUND_TYPE = "NEW PRE-NEED"
}

???
  
Back to top
IP Logged
 
John_Y_Cannuck
Junior Member
**
Offline


decidedly un-geek!

Posts: 97
Location: Lindsay Ontario Canada
Joined: Mar 8th, 2004
Re: if then else question
Reply #1 - Mar 2nd, 2005 at 10:06pm
Print Post Print Post  
The programing error indicator is near the word april.
  
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: if then else question
Reply #2 - Mar 2nd, 2005 at 10:18pm
Print Post Print Post  
April 1, 1992 will need to be in quotes.  You also may need to type it as "4/1/1992"

Code
Select All
 If Preneed_Purchase_Date < "april 1, 1992" Then
{
FUND_TYPE = "OLD PRE-NEED"
}
Else
{
FUND_TYPE = "NEW PRE-NEED"
}  



-Ray
  

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


decidedly un-geek!

Posts: 97
Location: Lindsay Ontario Canada
Joined: Mar 8th, 2004
Re: if then else question
Reply #3 - Mar 3rd, 2005 at 11:15am
Print Post Print Post  
Thanks again Ray!  Smiley
  
Back to top
IP Logged