11-20-2000, 09:11 PM
When I bind a MsFlexGrid with a Data source, the data topic will present in the top line of the MsflexGrid. Now there is a question...
I wonder if there is a method that can let the topic present in the first column!
Please help me!
03-15-2001, 01:19 PM
Never a problem whenever a request!!
1- Create a Table with a single field (or column) the data type is Text or Memo
2- Open the first recordset from your original database. Move First.
3- Open the second recordset form the temporary Table.
4- Execute a Delete command to empty the temporary table and its recordset.
5- execute an Insert command to append each field of the first recordset into it
You may use a block of BeginnTrans, AddNew, Assign, Update, CommitTrans instead
6- Assign the second recordset to the Grid's RecordSource.