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.

Stumped trying to devise method of counting

Featured Replies

  • Newbies

I am trying to make requested changes for a client to a very primitive database that I didn't design. The client is a carpet cleaning business and uses the database for point-of-sale and accounting and generating reports. It is unbelievably crude.

One of the requested changes is to come up with the total number of "days" worked in a given period of time. "Days" is defined as any day in which ANY work was done for any customer. So, if no jobs at all were performed on Monday, then that would equal ZERO days. If 14 jobs were performed on Tuesday, that would equal ONE day. And, if 1 job was performed on Wednesday, that also would equal ONE day. So, the goal is to come up with a total of the number of actual days that jobs were performed. In this example, the number would be 2.

My FileMaker experience is very rusty to begin with, and I suspect that the way this database was constructed will make it very difficult to shoehorn this type of calculation into. I'm completely stumped trying to think of what sort of mechanism would be able to come up with this total.

HELP!!!!!!

Thanks,

Pete Johnson

[email protected]

Hi Pete,

I'm wondering what a "Job" is. What is actually entered when a job is performed. How do you know if it is 1, 2 or 14 jobs? Or, was that a typo and the number like this entered?

0 = 0

1 = 1

2 = 2

.

.

.

14 = 14

Lee

smile.gif

Hi Pete,

Create a Value List based upon the date field using values from field and all values. Create a calculation (number, unstored) with:

PatternCount ( ValueListItems ( Status ( CurrentFileName ), "DateVLname" ), "

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.