ok.. here is what i am using at the moment
"SELECT tblInvoice.InvoiceRef, tblInvoice.Status FROM tblInvoice, tblAccount WHERE left([tblInvoice].[InvoiceRef],3)=Left([tblAccount].[AccountRef],3)"
what this is doing is selecting any invoice number in the database.. basically this code is used in...