| View previous topic :: View next topic |
| Author |
Message |
Raigo Guest
|
Posted: Thu Jan 29, 2004 2:18 pm Post subject: ClientDataSet state |
|
|
I am trying to check before Post if my CDS state is in Edit or Insert or
Browse with following statement
if (MyCDS.state=dsInsert) then
if (MyCDS.state=dsEdit) then
begin
end;
but I get error "undeclared idendifier dsInsert"
what is wrong?
|
|
| Back to top |
|
 |
Raigo Guest
|
Posted: Thu Jan 29, 2004 2:21 pm Post subject: Re: ClientDataSet state |
|
|
Problem solved :)
unit "db" needed to be added into "uses".
Raigo wrote:
| Quote: | I am trying to check before Post if my CDS state is in Edit or Insert or
Browse with following statement
if (MyCDS.state=dsInsert) then
if (MyCDS.state=dsEdit) then
begin
end;
but I get error "undeclared idendifier dsInsert"
what is wrong?
|
|
|
| Back to top |
|
 |
|