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 

Cannot Access Index field

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





PostPosted: Wed Apr 14, 2004 8:50 pm    Post subject: Cannot Access Index field Reply with quote



Hi
I have a Paradox master:Customer Table/detail: Shipping Table relationship
with the master having only one Primary index field: -say Customer ID.
On the Detail I have 3 Primary Indexes: CustomerID, ShipID, and CodeID.
I created a secondary Index on the Master: Customer table (CustomerID;Ship
ID)so I can Join one customer with different CodeIDs that have the same
ShipID. However, after selecting the Master Source: Customer Table and the
master fields(CustomerID and Ship ID) on the detail table, when running the
program, it reports that it cannot access the SHIP ID index.
Example of what I want to see.

Master Customer
CustomerID: 123
ShipID: 001

Detail:
CustomerID: 123
ShipID:001
CodeID: 55

If I only join with the CustomerID I don't get the error message but the
Detail Table has all the Ship IDs for that customer on the Detail Table. I
would only like to see a collection of the same Ship ID's with different
CodeID's per customer on the detail side.
Thanks.
+Mines


Back to top
Bill Todd (TeamB)
Guest





PostPosted: Wed Apr 14, 2004 9:45 pm    Post subject: Re: Cannot Access Index field Reply with quote



Did you set the IndexName property of the detail TTable to the name of
the secondary index?

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)
Back to top
Minor Bolanos
Guest





PostPosted: Thu Apr 15, 2004 5:08 pm    Post subject: Re: Cannot Access Index field Reply with quote



I created the secondary index but was linking the tables by means of master
table fields. After switching to the index name, the link works like I had
intended.
Thanks for your help
+Minor

"Bill Todd (TeamB)" <no (AT) no (DOT) com> wrote

Quote:
Did you set the IndexName property of the detail TTable to the name of
the secondary index?

--
Bill (TeamB)
(TeamB cannot respond to questions received via email)



Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Databases (Desktop) 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.