I need CIR.vendor to be distinct. here is the code that does not use distinct. I can't just stick dinstinct row or distinct in there because there is a different index number for each row. This is for a listbox on a form.
SELECT CIR.Vendor, CIR.index
from CIR
ORDER BY CIR.Vendor;
SELECT CIR.Vendor, CIR.index
from CIR
ORDER BY CIR.Vendor;