This is not a complete working example you can just copy and paste but it has the elements you need (I can't do it exact as I don't know all your field names etc.).
// This should be set to the client name that has been entered into the client name field.
$client_name = 'John Doe';
// Get field collection items with the given client name.
$query = new EntityFieldQuery();
$query->entityCondition('entity_type', 'field_collection_item')
->entityCondition('bundle', 'FIELD_COLLECTION_NAME')
->fieldCondition('CLIENT_NAME_FIELD_ID', 'value', $client_name);
$result = $query->execute();
$field_collection_items = array();
if (isset($result['field_collection_item'])) {
$field_collection_item_ids = array_keys($result['field_collection_item']);
$field_collection_items = field_collection_item_load_multiple($field_collection_item_ids);
}
// If you expect there to only ever be one field collection item for each name, do this:
// From your description it seems like you only want to deal with a single one.
// This will be your client field collection item.
$client_field_collection_item = reset($field_collection_items);
// Otherwise, loop through the items that match the name and do something with each one.
// However, based on your question I will stick with the above single item.
foreach ($field_collection_items as $field_collection_item) {
// Do something with each $field_collection_item here.
}
// To get the value of one of the fields of the field collection item, do this:
$lang = field_language('field_collection_item', $client_field_collection_item, 'FIELD_NAME');
$address1 = '';
if (!empty($client_field_collection_item[$lang][0])) {
$address1 = $client_field_collection_item[$lang][0]['value'];
}