1. In Query select New.
  2. For Type select Client, and select between Dynamic and Static Format.  Click OK.
  3. On the Criteria tab, select all appropriate options.
  4. On the Output tab, expand Clients and select Client ID.
  5. On the Sort tab, select all appropriate options.
  6. Run the query.