ADODC Vs Data

ca8msm
11-07-2000, 10:31 AM
Can anyone tell me what is the difference between ADODC and the standard Data scrolls? I have an application where I want to add new records. Using the standard Data it is fine because I can just set all the text boxes to have a specific DataSource and DataField and then just do Data1.AddNew.

When I try this with an ADODC I cant do this. I assume it will be something like:

adodc("FIELD1") = Text1.Text
adodc("FIELD2") = Text2.Text
adodc.AddNew

but I cant seem to figure this out. Please help!

Mark

col
11-15-2000, 07:38 PM
Mark, It would probably be something more like this:

adodc.AddNew
adodc("FIELD1") = Text1.Text
adodc("FIELD2") = Text2.Text
adodc.Update

Cheers mate.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum