Jump to content

This topic is 4106 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies
Posted

Hello Everyone

I am working on a program for a Local Members only Night Club.. That can be open at any time of any day ..
set up as follows
I Have a main file that gets a entry price based on "TheDayOfWeek"
TheDayOfWeek = Monday |Price= 30
TheDayOfWeek = Tuesday|Price= 10
"" , ""
and is based on "OpenTime" and "Closed Time" so I used a Timestamp to relate from the main file to the Price File.. as so..
Main File ..
relationship = Mainfile "SessionDate" ≥ TimestampOpen and
relationship = Mainfile "SessionDate" ≤ TimestampClose
result = Price for Date Today or For Date one day before
if "TimeClosed" is after Midnight the next Day

The Problem I am getting is when the Club stays open after the Closing time... it will not show a price because the Get(CurrentTimeStamp) is out of range of the relationship.. I need to allow the Price for the OpenDate Price to continue to be used...

This topic is 4106 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.