Advertisement

03.22.2007 at 03:47AM PDT, ID: 22465275
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

Recordsets Inside Recordsets

Asked by martywal in Microsoft Access Database

Hi again Experts,

I have managed to set up a recordset as per my previous question. The code is as follows:

Private Sub cmdZFPRAnalyze_Click()
    'Code to Set the Recordset
    Dim rstZFPR As ADODB.Recordset
    Dim fldEach As ADODB.Field
   
    Set rstZFPR = New ADODB.Recordset
    rstZFPR.Source = "ZFPRValues"
    rstZFPR.ActiveConnection = Application.CodeProject.Connection
    rstZFPR.CursorType = adOpenStatic
    rstZFPR.LockType = adLockOptimistic
    rstZFPR.Open
   
    rstZFPR.MoveFirst
    rstZFPR.MoveNext
   
    'If Statement to build a new recordset that will be examined - NEXT PART OF MY QUESTION I ASSUME WILL GO HERE

    rstZFPRValues.Close
    Set rstZFPRValues = Nothing
   
End Sub

There are two fields within this recordset ("BusinessGroup" & "RCode") that I need to create a new recordset for if they are the same. As there are many groupings for this the code will obviously need to loop through each group and isolate the new recordset before adding new records where appropriate (AddNew). I'm not sure how to do this though.

Something along the lines of:
If BusinessGroup = BusinessGroup And RCode = Rcode Then
It will be in the new recordset
When BusinessGroup <> Business Group Or RCode <> RCode then do no include in the NEWrecordset.

If someone can point me in the right direction that would be awesome.
Thanks
MartywalStart Free Trial
[+][-]03.22.2007 at 04:06AM PDT, ID: 18770214

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.

 
[+][-]03.22.2007 at 04:11AM PDT, ID: 18770235

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.

 
[+][-]03.22.2007 at 04:15AM PDT, ID: 18770253

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.

 
[+][-]03.22.2007 at 04:46AM PDT, ID: 18770385

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.

 
[+][-]03.22.2007 at 05:06AM PDT, ID: 18770467

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.

 
[+][-]03.22.2007 at 05:07AM PDT, ID: 18770472

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.

 
[+][-]03.22.2007 at 05:26AM PDT, ID: 18770562

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.

 
[+][-]03.22.2007 at 05:27AM PDT, ID: 18770571

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.

 
[+][-]03.22.2007 at 05:33AM PDT, ID: 18770598

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.

 
[+][-]03.22.2007 at 06:34AM PDT, ID: 18771026

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.

 
[+][-]03.22.2007 at 07:37AM PDT, ID: 18771504

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
Sign Up Now!
Solution Provided By: stevbe
Participating Experts: 1
Solution Grade: A
 
 
[+][-]03.22.2007 at 08:55AM PDT, ID: 18772261

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 - Hierarchy