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 

TSQLClientDataset fetching primary index : error

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





PostPosted: Tue Sep 21, 2004 8:01 am    Post subject: TSQLClientDataset fetching primary index : error Reply with quote



When using a TSQLClientDataset to open a query that does not contain the
primary index fields I get an error that the primary index field doen not
exist.

As far as I can see this is because the dataset automatically tries to build
an index like the primary index in the database - in this case though this
is an unwanted feature as the select only does a query on the sum of
specific fields.

Is there a way to turn this "feature" off??


Back to top
Bill Todd
Guest





PostPosted: Tue Sep 21, 2004 1:40 pm    Post subject: Re: TSQLClientDataset fetching primary index : error Reply with quote



Do not use TSQLClientDataSet. It has been deprecated. Use separate CDS,
DSP and dataset components.

--
Bill (TeamB)
TeamB cannot answer questions received via email

Jens Dein wrote:

Quote:
Is there a way to turn this "feature" off??

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.