As GetSQLPreview() became obsolete some time ago, we are finally removing the use of this, replacing it with the sqlsyntax argument.
We have one issue here:
If the sqlsyntax is changed in a parent window (sqlpreview event), and one want to do further changes in a child window.
The sqlsyntax argument for the child window does only contain the original sqlsyntax, and does not include the changes from the parent window. The GetSQLPreview() function however does include the changes from the parent window.
Is this the right behaviour? Then I guess we have to keep track of these changes from parent window ourselves.