hi, i have this query
Code:
SELECT SpeseBuffer.Persona, SpeseBuffer.[Tipo di spesa], SpeseBuffer.Data, SpeseBuffer.Pertinenza, SpeseBuffer.Note, SpeseBuffer.Importo, Spese.Persona, Spese.DataFROM SpeseBuffer LEFT JOIN Spese ON (SpeseBuffer.Data = Spese.Data) AND (SpeseBuffer.Persona = Spese.Persona) AND (SpeseBuffer.Importo = Spese.Importo)
WHERE (((SpeseBuffer.Data)>#5/1/2020#) AND ((SpeseBuffer.Pertinenza)="COmuni") AND ((Spese.Data) Is Null));
the join i have highlighted is the part i want to modify: since i use this query to update a "expenses" table from and excel made by the bank site, i have the issue that some dates are not precisely the same (when i use my card the date of operation is different from the date they really take my money from my account).
so, since some values are added manually in the past, the dates are not the same for a few days.
May i change the join making something "spesebuffer.data +/- 10 days"?