Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to link Adodc to recordset
Message
De
01/11/2001 14:45:05
 
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00575891
Message ID:
00576347
Vues:
31
I have a grid and test boxes. Grid is bound straight to recordset.
First time I do
Set dGrd.DataSource = rs
Set Adodc1.Recordset = rs
And when I move down the grid all text boxes change their values accordinally.
I use rs.MoveNext to move a record.

When I reset Adodc1.Recordset the grid update without a problem, but text boxes displaying same values when I try go move between records.
May be the grid should be bound to Adodc, and use Adodc1.Recordset.MoveNext instead?
If yes, why it works at first?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform