I have a complex query, with lots of joins, which runs fine as search in EA, and in Access as well.
It also runs very quickly in both environments.
When I submit the same query to the EARepository.SQLQuery() API (because a want to process the results myself) then the query just goes away and never returns. No SQL errors, just goes away.
I found the same thing previously, with some wonderful SQL provided by Geert (and so = correct SQL) which also ran prefectly in Access, but really slowly via 'SQLQuery'. Sure, it returned a result, eventually, but after ~30 sec, but the same SQL ran in <1 sec via the other routes.
I this a known issue? Is there a solution?
When I just ran simple SQL, life was good. Now I'm trying to emulate Geert, and it's not going well.