Click to See Complete Forum and Search --> : OLEDB DataGrid!
ChrisM
Aug 9th, 1999, 04:31 PM
Does anyone know how I can enable the DataGrid to allow mulitple record selection!
There is no way to select multiple rows.
I have tried very hard to do this. But
could not find any solution.
You may try using Flex Grid. It is an
excellent control.
ChrisM
Aug 10th, 1999, 12:47 PM
There problem with the flexgrid is that it is read only.
compuGEEK
Aug 10th, 1999, 08:27 PM
Try Sheridan's Data Widgets 3.1....
http://www.shersoft.com
david1
Aug 10th, 1999, 08:49 PM
It is possible for the user to select multiple rows ( records).
The RecordSelectors property must be set to True, You can get the first and last columns selecte from the SelSTartCol and SelEndCol properties. This properties are part of the Split object! When the user selects multiple rows, then you can find out by checking the SelBookmarks collection in the datagrid.
The selchange event gets fired everytime there is a selection.
Something like this:
For each bookmark in datagrid.selbookmarks
Cost = cost + datagrid.columns("Cost").Cellvalue(bookmark)
Next
...
I hope this helps.
David
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.