PDA

View Full Version : Solved: Return BookMark from Hierarchical Flexgrid



stanl
04-23-2006, 02:10 PM
I am developing a 'generic' ADO Recordset dialog (similar to a 'form' in Excel, but with additional features). On thought I had for a Locate Button was to pass the Recordset to a Hierarchical Flexgrid pop-up and let the user highlight the row to fill the main dialog with values. The common control DataGrid has a bookmark property, but this is lacking in Flexgrid. My question is then: "is there a workaround to set a bookmark to the appropriate row in the main dialog (behind the pop-up) based on the selected row in the pop-up."
TIA - Stan

stanl
04-24-2006, 11:43 AM
Kludged it. Used Flexgrid's Recordset property rather than the DataSource Property. Then oGrid.Recordset.AbsolutePosition = .rowsel seems to work.
--- this can be marked as solved --- Stan