func X3.EN_MONGO_QUERY(Char QUERY_IN) : Clbfile

Starts a Crystal Reports print to a file on the server

  • QUERY_IN Clbfile Query to execute (Example : db.User.update({"_id":"XXX"},{$set:{"_creUser":"lvex3"}});)
Return Clbfile Returned Json or number for a count()
Example

[L]JSON = func X3.EN_MONGO_QUERY("db.User.find({}).count()")
[L]NB = val([L]JSON) # The NB variable contains the number of users in the MongoDB database without filter