Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Return a Collection Error Object


Message #1 by rg1@h... on Fri, 24 Aug 2001 17:18:45
Hello.



I need help with returning a Collection Error Object from the Data Access 

Layer to the calling asp page.



I have a DAL with a Private OpenConnection and a Public GetRecordSet.



In my asp page I use the following line to get a recordset:

    Set rs = datStore.GetRecordSet(sStoredProcedureName)



In datStore.GetRecordSet(sStoredProcedureName), I call the Private 

OpenConnection. If there is an error opening the connection, I want to 

pass back the Connection Errors Collection to my asp page.



I really have no clue how to achive this. 



Any help would be greatly appreciataed.



Rita

  Return to Index