Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need help with a run-time "drop dead" script

Featured Replies

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

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

  • Author

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

Create an account or sign in to comment

Important Information

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

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.