Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MSFlexGrid and ADO
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00412017
Message ID:
00412078
Vues:
17
>I'm trying to use a MSFlexGrid with an ADO recordset and I keep getting the error "Object variable or With Block variable not set"????
>
>Here is the code:
>
Set grdbasins1.DataSource = rsBasins
>
>rsBasins does exist, and if I change to grid to a DataGrid it works fine!
>
>Any ideas?

Have you tried with MSHFlexGrid.

I think that the MSFlexGrid and the DBGrid works with DAO and RDO while the MSHFlexGrid and the DataGrid works with ADO.
É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