I don't use Be myself, but a shot in the dark: try Be_FileMakerSQL( evaluate ( SQL) )
Your string appears to be an expression that results in the SQL statement, rather than the SQL statement itself.
Thank you Chris, but unfortunately does not work.
Your string is whole parameters for the function, not SQL. Then
Evaluate ( "Be_FileMakerSQL(" & SQL & ")" )
Try Be_FileMakerSQL( quote ( SQL) )
Sent from my iPhone
Thanks 19752 for pointing in the right direction!
Now I can go to sleep and rest after the full days work.