Link to home
Start Free TrialLog in
Avatar of RedWave
RedWave

asked on

HFlexGrid Recordset

How can a HFlexGrid control be bound directly to a shaped recordset (ADODB.Recordset) without going via a data control.  I suspect that another grid control is required (with similar functionality) but cannot find one.  Can you suggest such a control?
ASKER CERTIFIED SOLUTION
Avatar of jjbyers
jjbyers

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RedWave
RedWave

ASKER

Thanks, but that was exactly what I was doing - and getting a run-time error saying that the grid doesn't support that kind of binding.  I have found my own answer though.  

The problem was that I was setting the datasource and datamember at design-time to equivalent dataenvironment objects in order to format the grid a little bit better.  Clearing these before attempting to bind it to the recordset made the difference.  I discovered this not long after placing the question.  

As usual the answer was very simple - and very context sensitive - it would have been very difficult to foresee this as my problem.  But I am very impressed with how quickly you responded.

Thanks a lot.