API1016 A new query could not be created. There may be too many
documents already open, or there may be insufficient memory.
Explanation
An unexpected error occurred while creating a query
using the initializeQuery() function.
User response
Check the QMFwin API logs to find the root error.