Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_ado_rds thread: Getting ADO Error when accessing data from a script.


Message #1 by "sp.swain" <sp.swain@t...> on Tue, 26 Jun 2001 12:46:32 +0530 (IST)
Hi,

Can any one help me out. I am trying to use the XML client side data

binding. I am able to view the data in HTML page but when trying to aceess

it through the script then it is giving error message as:



ADO COULD NOT FIND THE OBJECT IN THE COLLECTION CORRESPONDING TO THE NAME

OR ORDINAL REFERENCE BY THE APPLICATION



If any one is having any sample code then pl. send me.

Actulally i am trying to perform some query on the disconnected recordsets

i am getting from a XML file through the XML databinding. 



The code is some thing like:

<HTML>

<HEAD>

<TITLE>Title</TITLE>



</HEAD>

<BODY>

<XML ID="fms" SRC="Data_xml.asp"></XML>

<INPUT type ="Text" id ="cod" >



<INPUT type="text" DATASRC="#fms" DATAFLD="name">

 <Script Language ="JavaScript">

	cod.innerText =fms.recordset.Fields("locid").value;

 </Script>



</BODY>

</HTML>





Here Data_xml.asp creates the xml from the Access database.In the 2nd text

box i am getting the data but not in the first where i am populating it

through the script..



Thanks and Regards

Surjya






  Return to Index