Sadly, no. There is no way to insert comments into SQL statements in Access.
I generally document the structure of a database, the SQL strings and the VBA code in a Word document, and add comments in that document.
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
comments in Access SQL - possible Access help is no help as MS normally avoids mentioning anything to do with MS design shortcommings
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Sadly, no. There is no way to insert comments into SQL statements in Access.
I generally document the structure of a database, the SQL strings and the VBA code in a Word document, and add comments in that document.
a V strange omission on MS's part
Thanks for your help
Also:
NOTE: Confirmed with Access 2003, 201, 2016 don't know about earlier versions.
For a query in an MDB you can right-click in the query designer (anywhere in the empty space where the tables are), select Properties from the context menu, and enter text in the Description property.
You're limited to 256 characters, but it's better than nothing.