How to pass argument from one view to another view?
Here is how you can do it programmatically:

// load and display view A
$view_A = views_get_view('view_A_name');
// execute view
$view_A-&gt;execute();
// get all nids from the result 
foreach ($view_A-&gt;result as $result) {
   // capture the result of your field in an array. 
   $values[] = $result-&gt;field_machine_name; 
}
// render view
print $view_A-&gt;render();

// now load view B
$view_B = views_get_view('view_B_name');
// set arguments for view
$view_B-&gt;set_arguments(array(implode(",", $values)));
// execute view
$view_B-&gt;execute();
// render view
print $view_B-&gt;render();