Hi List,
Is there some way to construct an if..then statement that allows for multiple correct 
if s?
My first instinct was to do something like the following:

if gTheFullDate = "01/04/1999"  or "01/05/1999" or "01/06/1999" or "01/07/1999" or 
"01/08/1999"  then
    member("ReportPeriod_From").text = "01/03/1999" --change to date of previous Sunday

Forgive me, I'm fairly new to Lingo.  What I'm trying to do is, round back to the 
previous Sunday of any week entered by the user.  I'm sure there must be many betters 
ways to do this, and any suggestions would be much appreciated.

Thanx in advance!!
G Fritzinger




[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to