Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Index a table on a column in another table?
Message
 
À
05/03/2001 09:51:12
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00481849
Message ID:
00482207
Vues:
9
Chaim,

Try any of these.

1. Use the customer table and set a relation to the invoice table, then navigate the customer table showing data from the invoice table.

2.

SELECT Customer.Name, Invoice.InvNo ;
FROM Customer JOIN Invoice ON Custoemr.CustId = Invoice.CustId ;
ORDER BY 1 ;
INTO CURSOR MyOrder

SET REALTION TO InvNo INTO Invoice

Now navigate the MyOrder Cursor and show the invoice data.

Either of these will give you the result you want without using an index that is keyed to a table other than the one that the index is on.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform