I've been able to successfully link my database vis
ADODC, and am not able to use it to conveniently review
my database.
I wish to be able to remove, add and modify its
records via ADODC. Can anybody help?
With ADODC1.Recordset
'Add record
.AddNew
.Fields("SomeField" = "ABC"
.UpdateBatch
MsgBox "A New Record Was Added"
'Edit Record
.Fields("SomeField" = "XYZ"
.UpdateBatch
MsgBox "A Record Was Changed (The newly added record)"
'Delete the record
.Delete
MsgBox "A Record Was Deleted (The newly added record)"
End With [/b][/i][/u]*******************************************************
General remarks:
If this post contains any suggestions for the use or distribution of code, components or files of any sort, it is still your responsibility to assure that you have the proper license and distribution rights to do so!
Thanks for the assistance! It was a real help.
A slightly new problem :
After I change the database via ADODC, the display still
has the stats about the original database. How can I refresh
the display to reflect the new DB?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.