Solved

FM - Can You Get a Range of Values, Not Just one Value?

Posted on 2014-04-02
4
283 Views
Last Modified: 2014-04-03
Have a "YearWeek" table that summarizes "Leads" data by Week in several different fields.  Created a list field that pulls together all the fields in the YearWeek table and then in the main "Leads" table's script used the List function to list all the records going back a year.  However, now boss only wants to go back 4 months.  Can I do that with the GetValue function?  Looked it up, but it doesn't seem to accept an arugment for range of values.  How would you do it?
0
Comment
Question by:rvfowler2
  • 2
  • 2
4 Comments
 
LVL 24

Accepted Solution

by:
Will Loving earned 500 total points
ID: 39973575
I think you should be able t do it by altering the relationship that restricts it to a year which presumably include a date range or at least a year field as part of the predicate. If it's a year field you'll need to replace it with a date field (or create a separate relationship if you want to  keep the Year based one) and a greater than or equal to relationship. You might need a calculation field that simply calculates current date less four months and then relate that to the lead records.
0
 
LVL 2

Author Closing Comment

by:rvfowler2
ID: 39973664
Thanks, Will.  I ended up creating a new T.O. so as not to affect the existing T.O. Link and just linked the YrMon4MonsAgo to YearMonth via a calc field as you suggest above and it worked fine.  Too bad that don't have a range of GetValues.
0
 
LVL 24

Expert Comment

by:Will Loving
ID: 39973954
There are ways to do that include custom functions but you would still need a way do determine which record to start with four months ago. That's probably easier done just using the relationship.
0
 
LVL 2

Author Comment

by:rvfowler2
ID: 39974782
I was thinking of a GetRecordCount then a value range that is subtracted from that such as 246 (# of records representing # of weeks in the table) - 17 ( the amount of weeks my boss wants me to go back).  Just looking more for ways to save T.O.s as my Relationships graph is getting busy, even organizing it into clusters.
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
Taking database online 3 305
FileMaker Pro 7.5, Windows 7 Pro 64 bit and ODBC 4 425
Update a field for all records in a table 2 124
Filemaker Server as a Web Portal - Licensing 3 138
Pop up windows can be a useful feature of any Filemaker database.  Though best used sparingly, they can be employed in a multitude of different ways, for example;  as a splash screen at login, during scripted processes to control user input, as pick…
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…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
As a trusted technology advisor to your customers you are likely getting the daily question of, ‘should I put this in the cloud?’ As customer demands for cloud services increases, companies will see a shift from traditional buying patterns to new…

910 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

23 Experts available now in Live!

Get 1:1 Help Now