Jump 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.

Tracking of Date and Server Date

Featured Replies

Hi,

My application downloads some data from other datasources. The data should be downloaded only once in a day and by the first user who logs on to the application. I can think that I can store the date of download. When the user logs in to the application, I would check if the date matches current date. If yes, I would not download it again. To store the date, I cannot use a global field because it gets initialized everytime whenever client closes the application on his/her workstation.

Is there any other solution where I can store the date of download so that I can check this date from each client?

My second question is, the status(currentdate) shows the date of workstation. Can we use the date which is on the machine where fmserver is running?

Thanks,

--Sanjay

Second question first: not in FMP 6 and earlier. FMP 7 has the ability to reference the date and time fof the host computer.

First question: look into a preferences file. This is a table with just one record and linked to other tables through a cartesian join (or a constant relationship in FMP 6 and earlier).

  • Author

Thanks Vaughan, this would help.

--Sanjai

Create an account or sign in to comment

Important Information

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

Account

Navigation

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.