Solved

difference between MoveComplete and RecordChangeComplete in the ADODC control

Posted on 2003-12-10
2
503 Views
Last Modified: 2013-12-26

I have a DB app that has lots of textboxes tied to fields of a database, and three ADODC controls as the datasource. When the first ADODC1 control moves to the appropriate record, I use the MoveComplete event to navigate the second two ADODC controls to the correct record.

1) What is the difference between MoveComplete and RecordChangeComplete  of the ADODC control?

2) I am using MoveComplete, is this the best event to use if I want to perform actions after the recordset has moved?

3) I am using this line of code to populate the caption of the ADODC1 control with the current record and recordcount. Yet, I've noticed that this line causes the ADODB.movecomplete to be called, so the procedure sometimes calls itself.
    Adodc1.Caption = " " & pRecordset.AbsolutePosition & " of " & pRecordset.RecordCount

4) Is there a way to cycle through the recordset of an ADODC control without having to wait for each textbox to be populated for each move? I just want a value from each record in the recordset, then after I've goten my array of values, I want to reenable the ADODC recordset.

0
Comment
Question by:josephfluckiger
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 53

Accepted Solution

by:
Dhaest earned 500 total points
ID: 9918565
1) MoveComplete event: occurs each time a new record becomes current
   RecordChangeComplete: used to check the data before you move to the next record
2) Yes, that's the best event
3) Normally it shouldn't call himself because you only get the id's
4) Don't think so because you use a bound control array
0
 
LVL 1

Author Comment

by:josephfluckiger
ID: 9922343
ok, thanks.
0

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Visual Studio 2005 text editor 10 54
How to make an ADE file by code? 11 109
MS Access 03, TransferText, decimal places 8 92
Userform to show a range in excel. 3 33
Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question