Link to home
Start Free TrialLog in
Avatar of Bill Nolan
Bill NolanFlag for United States of America

asked on

DAO databases and DDX data exchange

I am writing a DAO database app, created with the AppWizard (MS Vis C++ 5.0).  At some point middevelopment, I had to make a change to the underlying MS Access .mdb, adding a text field. I have 2 questions pertaining to the DDX routines...

1) What is the best way to ensure the integrity of my DAO app when I change the underlying database?  Should this be done somehow with the class wizard?  Or should I just manually make changes to CRecordSet.h, DoFieldExchange(), DoDataExchange(), etc?
2) I need to perform certain operations whenever a record is updated.  Where can I intercept the user's pushing of the record navigation buttons in the CRecordView?  Is it safe to add code to the end of the DoDataExchange() function? (If not, where should this code be added?)

This question may be worth a bit more than 100 pts, but that's all I have!  Thanks a lot in advance...
ASKER CERTIFIED SOLUTION
Avatar of inpras
inpras

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Bill Nolan

ASKER

Thanks