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

I would like, on a form, to be able to have running information concerning miles traveled per month, and have this visible on the form all the time.

There would be twelve calculated fields and when mileage is entered in, say, January the total miles traveled would be displayed in the January field. Each time a January date is entered the miles driven will be updated in the January field. And so on for each month

I can get the total miles to work, but not the individual months.

Suggestions?:?

Thanks

I presume when you are adding mileage, you are making a new record. For the sake of argument, say you have only two fields, Date and Mileage. If there are three entries in January and two in February, in list view they might look like:

1/3/05 23.4

1/8/05 56.8

1/9/05 87.2

2/4/05 21.8

2/7/05 69.7

What you need is a calc field for each month that will be populated with mileage only if the date field is correct. Using February for our example, our new Feb_Calc would have this as a calc:

Case (Month(DateField) = 2, Mileage, 0)

This field will contain a zero across all records, except those with February dates. Make a summary field for each of these monthly calc fields and place them on your layout.

This gives you the flexibility of backdating. Add a February mileage that was overlooked and the calc field adjusts to account for it.

Steve Brown

  • Author

Thanks for the reply, but I guess I need to explain more for what I am looking for.

On the form I will have 12 months listed, and in these fields I need to see the running monthly totals of miles driven in the corrisponding month. As an entry is made for a day in February the February grand total will reflect this change thus totaling all the February dates.

Thanks again

I don't see how your request differs from my solution. I may be missing something, but if you made twelve calculation fields for display & summary as I described, then each (summary) field would show total miles in that month. Go back to your original data entry fields, and add a new February date & mileage, and the total will change to reflect it.

Steve Brown

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.