Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
4 years ago
Solved

Searching 3 fields.

I have a table with 3 fields:  Installer 1, Installer 2, Installer 3. There are 20 installers that can be assigned.  Most often they are only one installer assigned.  Sometimes, they need more tha...
  • OwenAuger's avatar
    4 years ago

    Hi Anonymous 

    I would recommend that you create a table which unpivots the Installer names into a single column, along with a column containing the identifer of the original record (I'm assuming a Job ID of some sort). You can also include a "Role" column. Something like this: 

     

    Job ID Name Role
    Job01 Joe

    Installer 1

    Job01 Hannibal Installer 2
    Job01 Harry Installer 3
    Job02 Joe Installer 1
    Job03 Mason Installer 1
    Job04 Frederick Installer 1
    Job04 Joe Installer 2

     

    This table is then related to the original table on the Job ID column, either directly or via an intermediate table containing unique Job IDs (if necessary), The relationship with the above table would need to be bidirectional.

     

    Then you can search/filter on the single Name column.

     

    Regards,

    Owen