billwagnon
Nov 2nd, 1999, 09:18 AM
1. Is there a way to combine datafields in a DataGrid? I am opening a new recordset, setting the DataGrid datasource to the recordset.
In my tables I have firstname field and a last name field. I would like to leave the tables the way they are, but combine the names in "last, first" format in the DataGrid.
I suppose the issue is, can you create new fields for the recordset on the fly, or are you stuck with the fields in the base tables?
2. I am using the HeadClick event to sort the DataGrid by the column clicked. But - after the click, the WHOLE column is selected. How do you turn the column selection off (and just select one of the cells?)
In my tables I have firstname field and a last name field. I would like to leave the tables the way they are, but combine the names in "last, first" format in the DataGrid.
I suppose the issue is, can you create new fields for the recordset on the fly, or are you stuck with the fields in the base tables?
2. I am using the HeadClick event to sort the DataGrid by the column clicked. But - after the click, the WHOLE column is selected. How do you turn the column selection off (and just select one of the cells?)