Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DataGrid question...
Message
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Divers
Thread ID:
00625054
Message ID:
00625156
Vues:
13
>To add a dummy field to my recordset, do I have to use MyRecordset.Fields.Append method ?? If so, I get an error that says : Operation not allowed in this context

You cannot use this. This will generate a run-time error. You need to create it while querying the database (select *, '' as DUMMY from YourTable ...).

>I would also like you to precise me what you mean by initialising it while populating the grid...

Before setting the grid source property to your recordset, loop through your recordset and update your dummy field.
É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