>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