BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ClientDataSet state

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress)
View previous topic :: View next topic  
Author Message
Raigo
Guest





PostPosted: Thu Jan 29, 2004 2:18 pm    Post subject: ClientDataSet state Reply with 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
Raigo
Guest





PostPosted: Thu Jan 29, 2004 2:21 pm    Post subject: Re: ClientDataSet state Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (dbExpress) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.