Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to link Adodc to recordset
Message
 
À
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:
00576421
Vues:
27
>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?

See this article from MSKB : Q191457 PRB: DataEnvironment Recordset Requery Does Not Refresh Controls
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform