Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to edit a record using ADODC
Message
 
À
23/01/2001 21:47:36
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00467718
Message ID:
00467729
Vues:
24
>hello, this is my first time to use the ADO data control, and i'm just wondering how to edit an existing record in a table.
>
>Using Data Control: this is the usual code i use to edit a record
>
>data1.recordset.edit
>data1.recirdset.fields("name_of_fields")="Something"
>data1.recorset.update
>
>my problem is there seem to be no ".edit" command in ADODC, what is the code or command for editing a specific record, thanks!

You can do the exact same thing with the ADODC except that there is no .Edit method.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform