Solved

How can I get subtotals from a related table in Filemaker

Posted on 2006-11-05
11
330 Views
Last Modified: 2010-04-27
Specifically I'm trying to get a countfor a specific time period in a table called "employees" from a table called "work orders" i.e. how many work orders per employee per specific period of time were submitted.   I've found ways to do this but they all seems a bit awkward and obtuse... Is there a simple command for a subtotal that would calculate this amount?  Thanks in advance.
0
Comment
Question by:dmboshers
  • 5
  • 3
11 Comments
 
LVL 6

Accepted Solution

by:
JoJohn2004 earned 500 total points
ID: 17878513
Here is one way you can do this:

Two tables: Employees and Orders

Fields: Employees
ID
gDateStart (global start date)
gDateEnd (global end date)
count(orders::id)

Fields: Orders
ID
Date

One Multipredicate Relationship:
Employee::ID=Orders::ID
Employee::gDateStart<=Orders::date
Employee::gDateEnd>=Orders::date

Create a layout based on employee and put the count and date fields on it. Once you enter the dates it will count the number of related records in orders between the dates for the selected employee. you can even make this a list and show all the counts at once. If you would like a sampe file, post your email and I will send it to you.
0
 
LVL 28

Expert Comment

by:lesouef
ID: 17881451
jojohn,
you are not supposed to use email to send examples, they should be posted on a site for others to be able to see and understand yr solution.
2nd; putting an address here is a  good way to increase yr spam load! you should at least encode it like me at domain dot com to avoid site addresses sniffers to detect it.
0
 

Author Comment

by:dmboshers
ID: 17882985
Thanks a lot JoJohn2004. This is great. Yes, my email is dmboshers@blueplatechicago.com Our anti spam solution is pretty strong so I'm not too worried about spam but thanks for your advice  lesouef.

0
 
LVL 6

Expert Comment

by:JoJohn2004
ID: 17885561
you are right lesouef but I do not have a readily available site to post on. dmboshers and (anyone else who is interested) has the opportunity to determine if he wants to post an email address or not. In an emergency, a person could set up hotmail account to recieve the file or if that is not an option they can ask for the file to be sent via sendthisfile.com

I will attempt to figure out a web posting solution but I hope that you will forgive my limitations in the meantime, unless of course I am breaking an important EE rule in which case i will refrain from posting.

In the meantime, I will send the sample to dmboshers at the address he sent.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 28

Expert Comment

by:lesouef
ID: 17886008
yes, this is an EE rule, not mine... it's ok to use email as long as the final solution is made available to others at the final stage.
0
 
LVL 6

Expert Comment

by:JoJohn2004
ID: 17886356
Hmm, I see. Well I will see what I can figure out. Its too bad the EE doesn't provide an upload area...
0
 
LVL 6

Expert Comment

by:JoJohn2004
ID: 17886492
Ok, I have found a way to post public files, I think. Here is the link to the sample file. Its not pretty.

http://www.nantucketisle.com/ftp/pub/Samples/subs.zip
0
 
LVL 28

Expert Comment

by:lesouef
ID: 17893442
true. as far as I am concerned, I leave them untill I reach the max volume allowed by my provider, so a few weeks. but I agree, EE could provide a way to store examples which are a lot better than a long explanation most of the time.
0
 
LVL 6

Expert Comment

by:JoJohn2004
ID: 18041313
Works for me
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
File Maker is not opening 4 539
Filtering portal results 3 76
Help with getting the most recent date in FileMaker Pro 9 10 63
printing table occurances in filemaker pro 10 8 39
Problem: You have a hosted FileMaker database and users are tired of having to use Open Remote or Open Recent to access the database. They say, "can't you just give us something to double-click on rather than have to go through those dialogs?" An…
Having just upgraded from Filemaker 11 to Filemaker 12 over the weekend, we thought we would add some tips for others making the same move.  In general, our installation went without incident. Please note that this is not a replacement for Chapter 5…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

25 Experts available now in Live!

Get 1:1 Help Now