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.

Need help with date calculations

Featured Replies

In my contacts file I have fields called

Make a calculation date field, contact date: Date( Month(purchase date) + contact interval, Day(purchase date), Year(purchase date) ). (This assumes contact interval is always in months.)

When doing your find, use an Insert Calculated Result [contact date, "DateToText( Status(CurrentDate) - DayofWeek( Status(CurrentDate) ) + 2 ) & "..." & DateToText( Status(CurrentDate) ). This will eliminate all weekend dates and only start with Monday of the current week.

Bill,

One week ago, I tried myself in a test file for just that purpose.

The user wanted several intervals (more than one service per purchase) to be created as soon as a Purchase was entered.

Rather than a fixed date, the result was a WeekofYear, and at opening of the database, the user was presented a list of customers to contact within a range of 1,2,3,4 and 5 weeks, in order to plan an appointment.

The file was also taking into account Week-ends and Holidays, even if the calendar solution provided was very "poor".

Mind thoug, the attachment hasn't been corrected. There's a bug with one duplicated Customer Id. Create 2 or 3 new ones and try yourself.

The file can be found here .

Create an account or sign in to comment

Important Information

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

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.