Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL Joins
Message
From
25/10/2002 07:09:27
Peter Walburn
Omega Data Services Ltd
Aberdeen, United Kingdom
 
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Title:
Miscellaneous
Thread ID:
00714873
Message ID:
00715339
Views:
15
Thanks,

I guess I'll try looping through one recordset and looking up records in another recordset. Unfortunately there are a few recordsets needed in the joins so it will be a bit of work.

I did initially have a temp table in the database and filled this with data. This works, but it does mean that the Access database grows until a compact is done. I would like to move away from Access as the database and I will in the future, but I have no choice in the matter at the moment.

Pete

>Hi Peter.
>
>There's no way to do this, at least that I've come across. I've been faced with similar situations and I have gotten the data I need from the second table, then added the table's fields to the memory-only ADO recordset, then looped through the two recordsets to add the appropriate data.
>
>This requires a design that includes as little data as possible being returned from the data source, of course...
>
>I have also seem folks create temp tables and dump the memory-only rs into the table, and *then* execute a select. And then, of course, clean everything up. Pretty inelegant, but it works.
Previous
Reply
Map
View

Click here to load this message in the networking platform