Can VFP handle this: I need to query to print an invoice. I need data from the Invoice Header table, the Invoice Details table (the line items on the invoice), and the Inventory table (some details related to the line item part numbers). Left joining the Header table (parent) to the Details table (child) is easy. But using left or right join from the Details table (child) to the Inventory table (grandchild) results in no records. I need a single record with the Header data (invoice number, invoice date, etc). And I need to NVL the fields from the Details table and the Inventory table just to avoid nulls. So far what I get is no records because of the join between the child and grandchild (the child does not exist - no line items on the invoice). This is causing no records to be returned. Is there a syntax within VFP's built-in SQL code to handle this (these are VFP tables). I can kludge a solution but was wanting a SQL query that works when there are detail (child) records and when there aren't.