SELECT inven.vendor, inven.partno, inven.qrec-inven.qsold AS NumLeft WHERE inven.partno = partno.partno AND partno.partno = thisform.CurrPartno; INTO cursor MyCursorNote that I linked in the Partno table. This should give you a record for each record in PARTNO which matches the thisform.CurrPartno value.