Hi,
Ah, the good old JET 4 SQL documents are still available online. I did some presentations about the 3 of them a 20 years ago. :-)
The doc states in the introduction and other places:
It is very important to note that some of the new SQL syntax is available in code only when you use ActiveX® Data Objects (ADO) and the Jet OLE DB provider, and is not currently available through the Access SQL View user interface or DAO. This article points out when a certain SQL command is available only through the Jet OLE DB provider and ADO.
Well, "not currently available" was an understatement. ;-)
DEFAULT WITH COMPRESSION
were such "new" keywords in JET 4 that still only work when you call them with ADO methods, i.e. build the SQL string in VBA and then execute it like
CurrentProject.Connection.Execute (strSQL)
I'm also not sure if
REFERENCES [ProtocolType].[Name]
will work like this. If it doesn't then try:
REFERENCES [ProtocolType] ([Name])
Servus
Karl