Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

>= <= In a 'if-then-else' statement

Status
Not open for further replies.

Steve95

MIS
Nov 3, 2004
265
US
Hi All

Iam trying to create e.g.
if {dob}>= 21 and <=30 then 1 else 0

but cant seem to get the correct syntax, please can you help.

This is my last report for this project and my mind is numb.....

Kind Regards


 
you saved the day.......

My mind had gone blank....it is Friday~!

Thank you very much......

 
Try:

if {dob}in 21 to 30 then 1 else 0

-LB
 
Hi,
Also:

{dob} in 21 to 30




[profile]

To Paraphrase:"The Help you get is proportional to the Help you give.."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top