Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
An index problem
Message
From
02/01/2002 12:49:51
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
02/01/2002 12:40:33
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00599805
Message ID:
00599819
Views:
20
>>I have a Table A with a list of plants, each of which has a species name. The species name list is held in Table B. Table A has a numeric code relating to Table B. Table B is indexed on this numeric code to facilitate the relationship. All of this ... the most basic relationship between two tables.
>>
>>However, I want to list Table A sorted A-Z by species? Clearly, if I switch the Table B index to the species names sorted AZ, the relationship to A is lost. My work around for now is to include a (redundant)short species name field in Table A and to index on this. It works - but can't be the correct way.
>
>Denis,
>
>The relationship shouldn't be lost if you change the order of Table A... An dependent index on Table A is not mandatory to the relationship.
>
>Renoir

Denis,

Sorry. Not what you asked - you wanted it ordered by Species which is not in TableA. I like Jim's answer best.

Renoir
Previous
Reply
Map
View

Click here to load this message in the networking platform