This article here http://msdn.microsoft.com/en-us/library/bb188204%28v=sql.90%29.aspx?ppud=4 describes how to log SQL requests sent via ODBC.
Does anyone know the registry key to use for Access 2010? I searched the registry and found an entry for TraceSQLMode in HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Jet\4.0\Engines\ODBC and turned it on. I ran a few queries from Access out to a remote SQL Server instance, but then search as hard as I could, I couldn’t find an sqlout.txt file.
I’ve searched the registry for another key, but can’t find one.
How about:
Values:
“TraceSQLMode”=dword:00000000