Advertisement

04.02.2008 at 08:28AM PDT, ID: 23289651
[x]
Attachment Details

RecordSet to Table - Access

Asked by yankeej14 in Microsoft Access Database

Tags: recordset, table

I need some help dumping a recordset into a temporary table to be displayed in Access.  Is this possible?

VBA code is used to perform a stored parameter query.  The code is attached below.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
Private Sub Calendar0_DblClick()
 
'''Declare Variables
Dim qdf As DAO.QueryDef
Dim rst As Recordset
 
'''Get stored parameter query
Set qdf = CurrentDb.QueryDefs("WinnersQuery")
 
'''Fill in the parameters with the correct value
qdf.Parameters(0) = Calendar0.Value
 
'''Perform the query
Set rst = qdf.OpenRecordset
 
 
'''Send recordset data to temp table (***Need help here!***)
 
 
rst.Close
qdf.Close
Set rst = Nothing
Set qdf = Nothing
 
End Sub
Related Solutions: RecordSet to Table?
[+][-]04.02.2008 at 08:47AM PDT, ID: 21264310

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 08:50AM PDT, ID: 21264345

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Microsoft Access Database
Tags: recordset, table
Sign Up Now!
Solution Provided By: peter57r
Participating Experts: 3
Solution Grade: A
 
 
[+][-]04.02.2008 at 08:58AM PDT, ID: 21264425

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 09:08AM PDT, ID: 21264546

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 09:09AM PDT, ID: 21264555

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 09:27AM PDT, ID: 21264733

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.02.2008 at 09:43AM PDT, ID: 21264883

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

Start your 7-day free trial to view this Assisted Solution or ask the Experts your question.

 
[+][-]04.02.2008 at 10:50AM PDT, ID: 21265531

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 10:54AM PDT, ID: 21265571

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]04.02.2008 at 10:59AM PDT, ID: 21265623

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_Related_20080208