In v4.5 QUERY BY FORMULA was implemented internally and allowed you to use Active4D variables and methods in the expression. In v5 QUERY BY FORMULA is now executed within 4D's context, which means it will execute on the server at full speed.
For those who have existing code that used QUERY BY FORMULA with Active4D variables and/or methods, I have written the equivalent of the v4.5 version as a library method:
On further thought, 5.0r10 will allow you to keep the old behavior by passing * as the first parameter, which will mean "execute this within Active4D's context". That will be a much less disruptive change, and very easy to implement via search and replace.
Kind regards, Aparajita www.aparajitaworld.com "If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoy.org _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
