| View previous topic :: View next topic |
| Author |
Message |
smithberger
Joined: 10 Nov 2005 Posts: 3 Location: Seattle
|
Posted: Mon 08 Feb 2010 23:29 Post subject: Trouble coding TMemDataSet |
|
|
when I try to implement a sorting routine on a DBGrid, Embarcadero 2010 does not recognize the TMemDataSet. specifically, here is the code:
if DBGrid1.Datasource.Dataset is TMemDataSet then etc.
I am getting "Undeclared Identifier 'TMemDataSet' at line 58".
I am not an experienced programmer, so I am sure that I am doing (or not doing) something very basically wrong.
Can anyone give me some advice?
Thank you.
Bonnie |
|
| Back to top |
|
 |
Plash Devart Team
Joined: 10 May 2006 Posts: 2844
|
Posted: Tue 09 Feb 2010 08:25 Post subject: |
|
|
| You should add the MemDS unit to the USES list. |
|
| Back to top |
|
 |
smithberger
Joined: 10 Nov 2005 Posts: 3 Location: Seattle
|
Posted: Tue 09 Feb 2010 17:23 Post subject: Trouble coding TMemDataSet |
|
|
Thank you so much. I just knew there was something basic I was missing! I will now pay more attention to the units.
Bonnie |
|
| Back to top |
|
 |
|