Class Type Expected error on TableAdapter constructor
Posted
by Chris Franz
on Stack Overflow
See other posts from Stack Overflow
or by Chris Franz
Published on 2009-04-24T19:03:54Z
Indexed on
2010/06/12
6:13 UTC
Read the original article
Hit count: 408
delphi
|delphi-prism
I am using Delphi Prism to connect to an Advantage Database Server. I created a connection using the server explorer to the database. I added a dataset object to my project and added a table to the dataset. Everything works fine in the IDE, however, I get an error in the generated designer code on the table adapter constructor.
The error is: (PE26) Class type expected.
Here is the generated code:
{ Presidents.PresidentsTableAdapters.USPRESIDENTSTableAdapter }
constructor Presidents.PresidentsTableAdapters.USPRESIDENTSTableAdapter;
begin
self.ClearBeforeFill := true;
end;
© Stack Overflow or respective owner