Currently I use a normall "=" to assign the recordset to the returning pointer , Is this dangerous ? does it cause any memory leaking..? I have read many articles that says using QueryInterface is the best way.. but I would like to know why?<BR>and why not use Detach function or CopyTo Function ..?<BR><BR>Thanx.. :)