Tapforms 4.0.7 (384) Searches issue

Viewing 1 reply thread
  • Author
    Posts
  • August 11, 2016 at 6:05 AM #18459

    Marcus
    Participant

    I’m using Tapforms 4.0.7 (384):

    When a form contains fields with the SAME name multiple times it is not possible to use these fields
    in a search criteria, it will be listed only once in the search rules (the first one which was found assuming).

    August 12, 2016 at 2:34 AM #18513

    Brendan
    Keymaster

    This is actually because when Tap Forms generates the search for the database, it uses the names of the fields to store the query in what’s called an NSPredicate. That thing stores the query like this:

    (Movie Title CONTAINS ‘Terminator’ AND Genre CONTAINS ‘Action & Adventure’)

    So if you have multiple fields that have the same name, the query won’t really know the difference between the different fields.

Viewing 1 reply thread

You must be logged in to reply to this topic.