|
-
Sep 6th, 2002, 03:59 AM
#1
Thread Starter
Addicted Member
SOLVED access: put result of existing query in recordset
what is the easiest way to put the result of an existing query (qryOutbox) in a ADODB recordset?
thus, i have created a query in access, saved it with the name 'qryOutbox' and now i want to use this in VBA.
how can i put the result in the recordset, so that i can change values from certain fields?
thanks.
Last edited by c@lle; Sep 6th, 2002 at 06:10 AM.
-
Sep 6th, 2002, 05:12 AM
#2
Code:
Select qryOutbox.* from qryOutbox
Put that as the source when opening your recordset in ado (remember adCmdText as the last option when opening.
Vince
Feeling like a fly on the inside of a closed window (Thunk!)
If I post a lot, it is because I am bored at work! ;D Or stuck...
* Anything I post can be only my opinion. Advice etc is up to you to persue...
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
|