Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

Greetings, everyone!

I've created a demo-type database (in a run-time solution) but want it to "drop dead" 14 days after its hard-coded start date. The date calculation parts works fine, but as much as I've tinkered with the script to have the solution shut down after the drop dead date, I can't get it to work; I'm missing something. Thanks in advance for your help and have a prosperous and healthy 2007!

Here's what I have so far:

Table = Main

Demo_start_date (Type: Date)

Demo_expire_date = Demo_start_date + 14 (Calculation Result: date)

Demo_countdown = Demo_expire_date - Get(CurrentDate) (Calculation Result: Number)

Script:

If[Main::Demo_expire_date > Get(CurrentDate)]

Exit Application

Else

Perform Script ["Splash screen"]

End If

Posted

Here is a similar post regarding timed demo versions. With your solution checking the current date to determine if it has past 15 days or not, the user can easliy circumvent it by changing the system clock.

Demo Expiration Thread

Posted

Thanks, Mr. V, for the link. Yeah, I forgot to take into consideration system clock changing. The nerve of some people!

This topic is 6537 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.