If I try to create a table whose name is quoted and contains non-identifier characters, and error occurs trying to create the trigger:
create table ` t a b l e ` (c char);
Cannot execute:CREATE TRIGGER "GENERICINSERT_ T A B L E " AFTER INSERT ON T A B L E FOR EACH ROW CALL "net.ucanaccess.triggers.TriggerInsert" user lacks privilege or object not found: T
UCanAccess>UCAExc:::4.0.4 java.sql.SQLSyntaxErrorException: user lacks privilege or object not found: T
Cheers,
Mick.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
If I try to create a table whose name is quoted and contains non-identifier characters, and error occurs trying to create the trigger:
Cheers,
Mick.
UCanAccess is choking on the leading space in the table name. This fails ...
... but this does not fail
However, Microsoft Access itself cannot work with tables that have trailing spaces in their names.
TL;DR - Table names should not have leading or trailing spaces.
That's fair enough then - thanks for investigating.