|
-
Sep 14th, 2000, 08:29 AM
#1
Thread Starter
Hyperactive Member
Can I create (open) a recordset not from a table, from another recordset in memory instead? Something like this:
Code:
'open recordset 1
rs1.Open "SELECT * FROM table",cn... (etc)
'open recorset 2 from the first recordset
rs2.open "SELECT * FROM rs1,... (etc)
Ulises Vázquez
[size=1.7]Oracle DBA Certified Professioanl
Visual Basic 6 Developer
Crystal Reports Designer
[/size]
-
Sep 14th, 2000, 08:32 AM
#2
Fanatic Member
Hi Tonatiuh
do you mean you want requery the data that has been returned in the first recordset?
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Sep 14th, 2000, 08:43 AM
#3
Thread Starter
Hyperactive Member
Yes Ian, the tables where I get the rs1 are too big and slow, and the net is elittle slow in some cities. I think if this is posible (create rs2 from the rs1) it must be to much quickly because the rs1 is already in memory.
Ulises Vázquez
[size=1.7]Oracle DBA Certified Professioanl
Visual Basic 6 Developer
Crystal Reports Designer
[/size]
-
Sep 14th, 2000, 09:01 AM
#4
Fanatic Member
As far as I know, you have to use a connection object to open a recordset but moving through a recordset in VB checking whether a certain criteria matches the record's that have all ready been retured is very quick
Ian
Yeah, well I'm gonna build my own lunar space lander! With blackjack aaaaannd Hookers! Actually, forget the space lander, and the blackjack. Ahhhh forget the whole thing!
-
Sep 14th, 2000, 09:40 AM
#5
I have no idea how to work with a second recordset.
I suggest to copy rs1 to an array and work from there....
-
Sep 14th, 2000, 09:41 AM
#6
Thread Starter
Hyperactive Member
Ther is not very quick when the recordset is too much large and contain many fields.
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
|