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?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

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
Caspar_OostendorpCommented:
This page absolutely gives you what you need:

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

good luck
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
ASP

From novice to tech pro — start learning today.