nightshade73
Technical User
Im new to learning VFP. I have two tables. invoice and invoiceDetail. The invoice number for invoice is invoice.in_inv_num. The invoice number for invoiceDetail is id_inv_num. (I know, no primary but that is how it was originally set up.) I'm trying to make sure that there are invoices in BOTH tables. So invoice.in_inv_num = invoiceDetail.id_inv_num. What is occasionally happening is the detail is not being created and I need to make a list of all invoices that are missing the detail record. I know how to browse both tables but I don't know what to write to compare the two. Any ideas? Thank you so much for reading this.