Hi guys,
I have a question regarding connection check. We use ADO connection to database outside NAV and we sometimes reached error (timeout) during connection. Is it possible to check connection (via C/AL code) without raising an error?
Thanks for your responses.
0
Comments
and then use the
IF not codeunit.run then
catchederror := getlasterrortext;
now the error wil not be thrown to the screen.
** SI ** Bert Van Gestel **
**********************
Working only for NAV 5.00+... ;-)
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.