Solved

difference between MoveComplete and RecordChangeComplete in the ADODC control

Posted on 2003-12-10
2
498 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
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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

777 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