Newbies Myke Posted May 13, 2005 Newbies Posted May 13, 2005 We have customers that are seasonal, and request their billing address is changed for certain periods of time... the problem I am having is getting a script or calcuation to recognize the range. "LeaveDate > Get(CurrentDate)" returns fine, but if I try "LeaveDate > Get(CurrentDate) < ReturnDate" or "(LeaveDate > Get(CurrentDate)) and (Get(CurrentDate) < ReturnDate) it fails the moment I ask it to compare that second date. It seems like this should be a simple process, but everytime I try to have it fit into an actual range, it fails. Any ideas? Thanks
aaa Posted May 13, 2005 Posted May 13, 2005 What date is start: if LeaveDate is start of range and ReturnDate is EndDate then you must put (LeaveDate < Get(CurrentDate)) and (Get(CurrentDate) < ReturnDate) else you must put "(LeaveDate < Get(CurrentDate)) and (Get(CurrentDate) > ReturnDate)
Recommended Posts
This topic is 7502 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now