Hi,
I plan to move one of our applications from traditional C/S to using APIs. The application uses query mode extensively. If the datawindow is not connected to a database, GetSQLSelect() does not include the entered criteria in the WHERE clause.
My plan is to build/alter the WHERE clause by stepping through the column objects, extracting the entered text, and sending the resulting SQL statement to an API that users a dynamic IDatastore. This seems like a challenge since some pretty complex queries could be created by putting criteria on multiple lines, including different operators, etc.
We have another application that uses PowerServer 2022. Entering criteria in query mode works. Does anyone know how PowerServer handles query mode? Is there another way I can extract the updated WHERE clause after entering criteria in query mode?
Regards,
Joe