I have a Delphi 2010 DLL using AnyDAC (version 6.0.2 (build 2653)) TADTable components. When I SetRange on any table in a PostgreSQL database, I get "Assertion Failure" error. This only happens in the dll - copying the code to a simple exe, I don't get the error. I am converting the program from using a paradox db to postgreSQL and therefore would like to stick to tables instead of queries as this will greatly speed up the conversion.

You may want to contact AnyDAC directly for such an issue. Hard to see when the Assert gets triggered without more information.