Drunkenneo
Registered User.
- Local time
- Tomorrow, 00:40
- Joined
- Jun 4, 2013
- Messages
- 192
I have a query:
Simple join query gives dup entries also, i need in single entry.
When using Distinct query for the form control source, the record is uneditable, can i get the records without dups.
Code:
SELECT purchaseOrder.poId, purchaseOrder.poYear, purchaseOrder.poDate, purchaseOrder.userId, purchaseOrder.currencyId, purchaseOrder.poSendDate, partnerDetails.name
FROM purchaseOrder INNER JOIN (orderDetails INNER JOIN partnerDetails ON orderDetails.partnerDetailsId = partnerDetails.partnerDetailsId) ON Cstr(Format(purchaseOrder.poId,"00000")) = Nz(MID(orderDetails.poNo,6,5),"0");
Simple join query gives dup entries also, i need in single entry.
When using Distinct query for the form control source, the record is uneditable, can i get the records without dups.