i want to display the contents of two related tables in an sql server database into an mshflexgrid control. the problem is that it doesn't want do connect to the database. i tried adodc controls, data environment and ado objects, but it doesn't seem to work. if anyone could give me some code example of how i could display data in the mshflexgrid object, i would really appreciate it. i also want to see how to use a shape interrogation with the mshflexgrid control. thanks.