Answers.Body: <p>Try using existing search forms.</p>
  <ol>
  <li><p>Search &gt;&gt; Advance Search
  <a href="https://i.sstatic.net/WIELn.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/WIELn.png" alt="enter image description here" /></a></p>
  </li>
  <li><p>Search &gt;&gt; Search Builder
  <a href="https://i.sstatic.net/W9n9R.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/W9n9R.png" alt="enter image description here" /></a></p>
  </li>
  <li><p>Other option would be to create a smart group having organization contact with specific membership type and then use advance search to search employee of with target contacts in group.</p>
  </li>
  </ol>
  <p>HTH</p>
  <p>Pradeep</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-10T14:00:16.323Z
Answers.Text: Hi Pradeep, thank you very much for your reply. Unfortunately our Current Employer field is not populated with any data so I need to use the "employee of" relationship, so I can't use your second option. Your first option will not restrict the individuals found to just the organisations with a specific membership type but will show all employees.
Answers.UserDisplayName: Ben
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-10T14:04:06.493Z
Answers.Text: Other option would be to create a smart group having organization contact with specific membership type and then use advance search to search employee of with target contacts in group.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-10T14:23:27.997Z
Answers.Text: Fantastic! I didn't know about the Target Contacts in Group. That has solved it. Do you want to add it as an answer for me to confirm? Thank you very much anyway.
Answers.UserDisplayName: Ben
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-10T16:24:25.920Z
Answers.Text: Ben, I updated my answer.
Answers.UserDisplayName: Pradeep Nayak
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-10T13:01:08.900Z
Answers.LastActivityDate: 2018-01-10T16:23:59.880Z
Answers.LastEditDate: 2020-06-17T09:00:50.810Z
Answers.UserDisplayName: Pradeep Nayak
Body: <p>We have a custom organisation option field showing the "Membership Type". I want to do a search (create a smartgroup) to find all individuals with a relationship "Employee of" for organisations that have specific membership types. So for example, I wish to find all employees of organisations with a membership type of "Current". Can anyone show me how I can achieve this? I do not want to use Drupal views. </p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-10T12:06:51.890Z
Comments.Text: `custom organisation option field showing the "Membership Type ` - is this a custom field?
Comments.UserDisplayName: jitendra - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2018-01-10T12:34:30.620Z
Comments.Text: Yes, this is a custom field for organisations. It does appear on the Advanced Search screen. We are not using the CiviMail component.
Comments.UserDisplayName: Ben
Tags: <search><relationships><smartgroups>
Title: Search for Individuals with Employee Relationship for Organisations with Certain Criteria
ThreadText: # Search for Individuals with Employee Relationship for Organisations with Certain Criteria
  
  (Asked by: username_0 on 2018-01-10)
  
  We have a custom organisation option field showing the "Membership Type". I want to do a search (create a smartgroup) to find all individuals with a relationship "Employee of" for organisations that have specific membership types. So for example, I wish to find all employees of organisations with a membership type of "Current". Can anyone show me how I can achieve this? I do not want to use Drupal views.
  
  **Tags:** search, relationships, smartgroups
  
  > **Comments:**
  > **username_1**: `custom organisation option field showing the "Membership Type ` - is this a custom field?  
  > **username_0**: Yes, this is a custom field for organisations. It does appear on the Advanced Search screen. We are not using the CiviMail component.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2018-01-10. Score: 1 | Accepted answer
  
  Try using existing search forms.
  
  1. Search >> Advance Search
     [![enter image description here](https://i.sstatic.net/WIELn.png)](https://i.sstatic.net/WIELn.png)
  2. Search >> Search Builder
     [![enter image description here](https://i.sstatic.net/W9n9R.png)](https://i.sstatic.net/W9n9R.png)
  3. Other option would be to create a smart group having organization contact with specific membership type and then use advance search to search employee of with target contacts in group.
  
  HTH
  
  Pradeep
  
  > **Comments:**
  > **username_0**: Hi Pradeep, thank you very much for your reply. Unfortunately our Current Employer field is not populated with any data so I need to use the "employee of" relationship, so I can't use your second option. Your first option will not restrict the individuals found to just the organisations with a specific membership type but will show all employees.  
  > **username_2**: Other option would be to create a smart group having organization contact with specific membership type and then use advance search to search employee of with target contacts in group.  
  > **username_0**: Fantastic! I didn't know about the Target Contacts in Group. That has solved it. Do you want to add it as an answer for me to confirm? Thank you very much anyway.  
  > **username_2**: username_0, I updated my answer.  
  
  ---
  
  