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.

Results Set Question

Featured Replies

  • Newbies

Hi,

I have a set of 'find results' that I need to manipulate further, and I am not sure what the right direction to go is.

Right now, I am generating an invoice by "period" selection. (User chooses the "period", and FM prints a pre-formatted invoice).

My application is a modification of the FM TimeBilling template, and uses "Time Billing" the and related "Line Items" to produce the report (with a few lookups). The report is sorted by "Project" and produces the total of hours and a subtotal by project on the fly.

But if I have an employee who has multiple timesheets within a period and for a specific project, then the employee is listed multiple times in the report.

For example:


  • Period 1-->
    PROJECT A.
    EMP 1=10 hours
    EMP 2=5 hours
    EMP 3=4 hours
    EMP 1=5 hours
    Total hours=24

I need to figure out a way to have EMP 1 show up only once in the invoice with the total sum of hours (in this case 15).

I don't know if this is db problem or a scripting one?

Can anyone help?

Thanks

RCR

It sounds like you want to create a subsummary by employee and put your employee fields in it. If they are in the body, then they will repeat as many times are there are instances in the found set. You'll also want a summary field for hours in the same part.

  • Author
  • Newbies

Thanks for the reply.

Can I have nested subsummaries like that? The "employee" subsummary would have to be within the existing "Project" subsummary...I seem to recall I tried this and file-maker wouldn't let me do this, but I might be wrong.

Sure, just put the subsummary parts in the order you want and make sure your script sorts them accordingly by their break fields (in a subsummary by X, the break field is X).

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.