Flexgrid can only be bound to a data source (data controls, etc) and does not appear to allow to be bound to an ADO recordset at run time.

If you just want to use only the ado objects, you could manually add the rows to the grid after opening your recordset.

I suppose you could also add a ADO data control to your form, bind the grid to it, and then obtain the recordset at runtime and then refresh the grid.....

Tom