Trouble coding TMemDataSet

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
smithberger
Posts: 3
Joined: Thu 10 Nov 2005 20:58
Location: Seattle

Trouble coding TMemDataSet

Post by smithberger » Mon 08 Feb 2010 23:29

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

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 09 Feb 2010 08:25

You should add the MemDS unit to the USES list.

smithberger
Posts: 3
Joined: Thu 10 Nov 2005 20:58
Location: Seattle

Trouble coding TMemDataSet

Post by smithberger » Tue 09 Feb 2010 17:23

Thank you so much. I just knew there was something basic I was missing! I will now pay more attention to the units.

Bonnie

Post Reply