Hi Sharla,
you should surround your connect-statement with try/catch. In case of an error the catch block is executed, where you can start an alert. It looks like that:
[code]
try {
...Datamodel.Connection.connect()
} catch (error)
{
Alert(error.toString())
// return if you like to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.