amorosik
Member
- Local time
- Today, 12:29
- Joined
- Apr 18, 2020
- Messages
- 523
I have a procedure created with Access 2013 ver 32bit that runs on Windows 10 pro
It uses data present on Firebird 3.0 and the tables are connected via odbc using the odbc driver version 2.0.3.154
Everything works correctly
I pass the same project on a Windows 11, Access same version, Firebird db always 3.0, odbc driver always 2.0.3.154, and I see that during the selections, on some forms the filter is modified, the dates give a problem, it seems that the selection no longer works in the sense that it returns an error 3146
I investigate the code and I see that the error occurs precisely when applying the filter and therefore on the line with the me.Filter.on instruction
The complete line passed to the Filter property is of this type
" MATTINA_POMERIGGIO='P' and CREAZIONE_DATA = #05/15/2025# and CREAZIONE_IP_ADDRESS = '172.24.64.1' " and I assume that it is the CREAZIONE_DATA field that gives the problem
That 05/15/2025 indicates May 5 2025, and on Win10 pro it works perfectly
I checked the odbc driver settings and they are identical
What could be different on Win11 compared to Win10?
It uses data present on Firebird 3.0 and the tables are connected via odbc using the odbc driver version 2.0.3.154
Everything works correctly
I pass the same project on a Windows 11, Access same version, Firebird db always 3.0, odbc driver always 2.0.3.154, and I see that during the selections, on some forms the filter is modified, the dates give a problem, it seems that the selection no longer works in the sense that it returns an error 3146
I investigate the code and I see that the error occurs precisely when applying the filter and therefore on the line with the me.Filter.on instruction
The complete line passed to the Filter property is of this type
" MATTINA_POMERIGGIO='P' and CREAZIONE_DATA = #05/15/2025# and CREAZIONE_IP_ADDRESS = '172.24.64.1' " and I assume that it is the CREAZIONE_DATA field that gives the problem
That 05/15/2025 indicates May 5 2025, and on Win10 pro it works perfectly
I checked the odbc driver settings and they are identical
What could be different on Win11 compared to Win10?