I'm doing tests with the Fwmariaconection class.
How do I control the error message of the connection and avoid the one generated by the class?
I turn off the Mariadb server and the error is interceded by the class and not the catch.
I connect like this
- Code: Select all Expand view RUN
- TRY
FWCONNECT oConect HOST "localhost:3307" USER "root" PASSWORD "mypass" DATABASE "gestion_ancla2018"
CATCH oErr
MsgStop("No es posible conectar con Servidor de Datos :"+oConect:nError )
Return .f.
END
Thank you for your cooperation,