Hi All,<BR><BR>I have a control that needs to be assigned a datasourceat runtime.<BR>What I need to do is run a server script to grab all the required records and return to the client as recordset and assign this recordset to the Activex control.<BR><BR>Just like we can assign text box in HTML with &#060;Input type="text" value="&#060;%=objrec("Fieldname")%&#062;"&#062; and the field value is displayed can&#039t I assign a complete recordset as <BR>Set control.Datasource= &#060;%=objrec%&#062; <BR><BR>GI