Tap Forms iPad – Grouping feature

Viewing 2 reply threads
  • Author
    Posts
  • March 17, 2015 at 3:56 PM #13182

    Christophe Gronier
    Participant

    I am using Tap Forms for iPad and I have an issue with the grouping feature.
    My database has approx 8000 files and one of the fields is a “year” field.
    The field is a “number” field and has four digits.
    There are 48 different years (values), from 1890 to 1937.
    When I chose to group the files by using the “year” field as the grouping value, I end up with the expected 48 groups in the list view.

    But, in the vertical selection bar (where usually you have the # sign), I get FIVE groups instead of the expected 48 groups.
    In this bar Tap Form does the grouping by only using the three first digits :
    189, 190, 191, 192 and 193 and that makes for me huge groups.
    This happens both in portrait or landscape mode (I tried that because I thought there was maybe not enough space in the height to display the 48 groups, but that’s not the reason, in portrait mode there is plenty of space).

    Overall Tap Forms is a great product. Because I love it, I am are very demanding !

    March 18, 2015 at 12:21 PM #13184

    Brendan
    Keymaster

    Hi Christophe,

    Ya, when Tap Forms groups, it tries to reduce the number of sections in the index on the right to something manageable. I guess in this situation it’s not doing a great job for you. Imagine if you grouped by a unique Number field in your form. You’d have 8000 sections in the index on the right! :-)

    Here’s the offending code:

    if ([localizedNumberString length] > 3) {
        localizedNumberString = [localizedNumberString substringToIndex:3];
    }
    

    If I change that to 4 it should be ok for you. However, now the index on the right will be wider.

    Thanks,

    Brendan

    March 18, 2015 at 12:31 PM #13186

    Brendan
    Keymaster

    Ok, I’ve fixed this for the next update.

    Attachments:
    You must be logged in to view attached files.
Viewing 2 reply threads

You must be logged in to reply to this topic.