In my Access (2013) database I have a form of which the recordsource is set on load through code. Although the query works fine when I execute it (it returns the right records) I am not able to edit or add new records to it. The adding doesn't matter but I have to be able to edit some records. The query in question is as follows:
SELECT io.*, lpo.batchid, lpo.lydiaUserID
FROM tblInkOrd io
LEFT JOIN tblLydiaPurchaseOrder lpo ON io.becode & '.' & io.ionummer & '.' & io.iovolgnr = lpo.orderNr
WHERE becode='1SW'
ORDER BY IIF(ISNULL(levdat),0,1), levdat DESC, ionummer DESC, iovolgnr DESC
As you can see it JOINS on concatenated values and my bet is that this causes the problem. I used to work with ADP but since I migrated to Linked tables it doesn't. Any clues how to fix it or how to make a workaround with still the same result set?