I'm not sure where to start with this problem. The code was working fine and broke spontaneously. I've tested similar code that I haven't touched and it is now producing the same error.
The way I have this setup is a bit tricky to begin with. I'm using an Access database with linked tables to a Caché (InterSystems) database and LLBLGen to generate code.
I can fetch data without issue through access--nothing has changed there. As far as I know there haven't been any code changes. The error is occuring on a GetMulti call with a single condition in the predicateexpression. I've debugged all I know how to do. Let me know any other information that will be helpful.
Stack Trace:
at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
at System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
at SD.LLBLGen.Pro.ORMSupportClasses.RetrievalQuery.Execute(CommandBehavior behavior)
(Changed the title, as it's OleDb not ODBC
) -- Otis