I have a view that selects a subset of book child nodes of a given type, where the parent book id is passed as argument. This works fine when I pass a given nid as parent book id in the view preview.
I have a CCK node reference that uses that view under Advanced - Nodes that can be referenced (View), selecting the created view under View use to select the nodes:.
How can I pass the nid of a specific node with an instance of the node reference field to the view under View arguments, which just says:
Provide a comma separated list of arguments to pass to the view.
I searched hi and lo for documentation on it, including CCK advanced help, and searched (including google), and all I've found so far is lots of similar questions, unanswered such as: http://drupal.org/node/702112
Please answer if you have done or before reply please try yourself

Comments
use the following
<?php
$viewname = 'viewsname' ;
$displayformat = 'default';
$argument = 'termid' ;
print views_embed_view($viewname, $displayformat, $argument);
?>
Where do I need to write this
Where do I need to write this code cck or view or template.php ?
can you explain me the step for it ?
I have $argument = 'ref node id' ;
this is my url http://ayushiinfotech.com/node/add/patient-services/144 where I need to have select box. Here reference nid is 144 so all date refer to 144 will display in select box
Mandakini Kumari
reply: Where do I need to write this
how the page rendering , if i know that , that will be nice , and if you have installed panel module , you can easily integrate
This isn't about google wave ...
@ayushiinfotech: I can't see how this is related to "Google Wave", Wrong group I guess. Please ask for help in http://drupal.org/forum or in the issue queues of the modules you are using!