Jim,
USE Vendor ORDER VendID
USE ApInv ORDER VendKey IN 0
SET RELATION TO VendKey INTO ApInv
SET SKIP TO ApInv
There it is alls et up for you. OR ...
SELECT Vendor.VendID, ApInv.* ;
FROM Vendor OUTER JOIN ApInv ON Vendor.VendKey = ApInv.VendKey ;
ORDER BY 1 ;
INTO CURSOR MYVendInvs