|
-
Mar 8th, 2002, 06:58 AM
#1
Empty Recordset creation
Dear All,
How do I go about creating an empty recordset? I wish to pass an empty recordset back to the client from my COM Component.
Is this kind of scenario would be desirable? Please explain the need to pass an empty recordset. Should I simply delete the records? Or do I manipulate the field object?
Cheers!
Abhijit
-
Mar 12th, 2002, 08:00 PM
#2
Addicted Member
If you are using ado then you can create disconnectd recordset
dim rs as new recordset
rs.append(....) 'for creating fields
or you can use
set rs="select * from table where sonething is null",connection
-
Mar 12th, 2002, 08:11 PM
#3
What is it you are trying to do?
-
Mar 23rd, 2002, 11:05 AM
#4
Thanks for replying back. I got the empty recordset done. Basically what I did was query a condition which was bound to be false.
How do you do that append fields bit?
Please point me in the right direction.
Cheers!
Abhijit
Everything that has a computer in will fail. Everything in your life, from a watch to a car to, you know, a radio, to an iPhone, it will fail if it has a computer in it. They should kill the people who made those things.- 'Woz'
save a blobFileStreamDataTable To Text Filemy blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|