Microsoft OLE DB Provider for ODBC Drivers error '80040e0c'

Command text was not set for the command object.

/includes/catalogue-2022/cat-functions.asp, line 457