create a recordset without a database

How do I create a recordset manually?  I don't want to use a database or a file but I do want to create and use a recordset object to store data.

Thanks,
Worden
LVL 2
markwordAsked:
Who is Participating?
 
Caspar_OostendorpConnect With a Mentor Commented:
This page absolutely gives you what you need:

http://www.asptoday.com/articles/19990423.htm

good luck
0
 
tkuppinenCommented:
this is code I have used in VB it should work perhaps with some modification in ASP

Set rsMessages = New ADODB.Recordset

With MAPIMessages1
' these lines of code are reposnible for the actual download of the message
        ' to the mapi messages object
        .FetchSorted = False
        ' allows you to sort the messages by date recieved
        .FetchUnreadOnly = True
        ' will return only the unread messages
        .Fetch
        ' does the actual fetching of the messages

End With

With rsMessages.Fields
' add fields to the existing recordset to handle the downloaded messages
        .Append "ID", adSmallInt
        .Append "Read", adBSTR
        .Append "DateReceived", adDate
        .Append "From", adBSTR
        .Append "Subject", adBSTR
       
End With

0
 
mgfranzCommented:
Check this out, it might be what you are looking for;

http://www.asptoday.com/articles/19990813.htm
0
All Courses

From novice to tech pro — start learning today.