Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

difference between MoveComplete and RecordChangeComplete in the ADODC control

Posted on 2003-12-10
2
Medium Priority
?
523 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 2000 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

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Question has a verified solution.

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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

610 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