I have a weather database with almost 6000 records copied over from MS Access. I then copied all the tables into Libre Office Base tables, then created the queries. After all that I set the required filters in the relevant query to give me data from 2 dates.
I received help from here on how to do that, and I had it working as it should yesterday, but earlier today as I was entering data in the form I received the error message below
The filter that is in the qryWXdataLeeds is this:
BETWEEN {d ‘2017-04-01’ } AND {d ‘2017-04-30’ }
I now get an ID1 conflict. or more precisley:
Error inserting the new record.Violation of unique constraint SYS_PK_260 : duplicate values for columns “ID1” in statement [INSERT INTO “tblWXdataLeeds” all data entered into the form.
This seems like I can’t have filtered data in a query, unless there is more to it.
I don’t know why this has just happened when it was ok before, except that the actual record without the filter would be 5993 as an example but with filtered data the record number is 28. So as the date filter is filtering all data including the ID numbers, is there a way of not selecting the ID number, so it would be the same number in the filtered results.