# FM - Is there Some Calculation for GetValue with a Range?

I have to list a set of beginning dates from a sub table (see pic), but because of the way the text is worded, will only be listing values 3 through 10 (assuming that the "BaseTermYears" is 10).  I've started the calc below, which gives me only 1 of the numbers.  I can't use list because I only need values 3 to 10.  Is there some GetValue calc that would allow you to import the range of values or how would you do it?

GetValue ( List ( BaseRent::YearBegin ); ValueCount ( List ( BaseRent::YearBegin ) ) )
LVL 2
###### Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

PresidentCommented:
I think you want to use the MiddleValues() function. MiddleValues, along with LeftValues() and RightValues() work just like the Middle(), Left() and Right() text functions except that it counts values instead of characters.

http://www.filemaker.com/help/12/fmp/html/func_ref3.33.74.html
0

Experts Exchange Solution brought to you by

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Author Commented:
Thanks, Will.  I've never used those and missed them when scrolling through.  I wish FM would name their functions so they are grouped together, such as ValuesMiddle and ValuesLeft.
0
PresidentCommented:
Well, they did all the text formatting ones that way but it's too late now for values. I think they were modeling it after the very ancient Left(), Right() and Middle() text functions and so named them similarly since it basically the same function but applied to values rather than a text string.
0
###### It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
FileMaker Pro

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.