Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Index a table on a column in another table?
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00481849
Message ID:
00482207
Views:
11
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform