Customer.DBF >------------ >PKCustomer (with a primary key index) >CustName >... > >Orders.DBF >---------- >PKOrders (with a primary key index) >FKCustomer (with an index called FKCustomer) >Item >... > >USE Customer >USE Orders IN 0 ORDER FKCustomer >SET RELATION TO PKCustomer INTO OrdersVFP will match the expression given in the SET RELATION with the current active index of the child to build the relation.