When working with pages, the database is not always available. Sometimes, you need to access a test recordset. Here are is an example of how to create a function that returns a recordset for testing:
<%Function TestRecordsetConst adDate = 7 Const adBoolean = 11 Const adVarWChar = 202 Dim rsTempDim Fields Set rsTemp = server.CreateObject(