Jump to content
Server Maintenance This Week. ×

FM7 Repeating Bug


This topic is 7122 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Hi,

Here's attached a FM5 and a FM7 file.

I'm using this tip to parse out a category from a multiline field (through a script for real).

As there may be multiple matches, I'm locating the longer one with this technique.

The Last( ) function isn't returning the correct result with 7 right now, or may be I am missing something.

If all fields are indexed, then it works though.

Link to comment
Share on other sites

What is it that you say isn't working? They all seem to work for me. At least, if I pick item 2 in the value list I see the repeats for item 2. Same for item 1 or 3. But I must be missing something, what's the problem?

Link to comment
Share on other sites

Hi Bruce,

It's the "correct category" field, which should return the longest match.

In v5, Last( ) would return this value, either if the repeating field is stored or not. With v7, if the repeating field isn't indexed, Last( ) is empty.

As Max( ) works, the workaround, at the moment, is to change the filterMatch so that you can use GetRepetition( ) then.

Link to comment
Share on other sites

This topic is 7122 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.