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.

Featured Replies

We have to generate monthly reports to the company regarding miles traveled and fuel purchased. These reports have to start at the beginning day of each month.

 

As I have it now, when you start a new month, the variable ($EndDate) is set to be the date field of the last record in the portal.

 

When the new month record opens up it has a starting date. Now it is set to SetField as $EndDate + 1.

 

This is fine if your last entry on the previous month as on the final day of that month. However, lets say a driver makes his last trip to Austin, TX on August 26th and this is where he makes his last monthly entry to the DB.

 

As of now, when he creates the new monthly record, the starting date is August 27th. The month needs to start on Sept 1st.

 

Is there a set field function that will read the variable and automatically set the new report start date to the first day of the next month?

Well, yes - but if the driver hasn't made any trips in the last month, you will have the same problem.

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.