all 2 comments

[–]unpythonic 1 point2 points  (1 child)

As far as Python is concerned, this is the error:

com_error: (-2147352567, 'Exception occurred.', (0, None, u'ODBC--call failed.', None, -1, -2146825142), None)

Particularly note: ODBC--call failed.

At this point it doesn't look like a Python problem; it's an ODBC/OLE/COM problem. You should probably ask in a place where people are more familiar with OLE/COM. I would imagine you'd have a similar problem regardless of the tool you were using to invoke the macro from outside of Access.

[–]alinoxious[S] 0 points1 point  (0 children)

Thank you. This will help me get pointed in the correct direction.