Hi folks,
I´m using 7.7.2 in a DE program,.
When issuing a command like
if syncconnect(CSWeb, servidor) = 1 then
...
else
errmsg();
endif;
Before executing the else part of the if when there is no internet connection, the system shoots a standard message like "there is no connection... Unable to resolve host etc". Then, after that, it shoots my errmsg.
Is there a way to check if there is an internet conectivity before issuing the synconnect command?
Best
Ari
check if there is an internet connection
-
- Posts: 1793
- Joined: December 5th, 2011, 11:27 pm
- Location: Washington, DC
Re: check if there is an internet connection
Take a look at the connection function: https://www.csprousers.org/help/CSPro/c ... ction.html
Re: check if there is an internet connection
Great,
Thank you, Greg.
I would suggest then that the help for syncconnect should have a see also pointing to this connection function.
Best
Ari
Thank you, Greg.
I would suggest then that the help for syncconnect should have a see also pointing to this connection function.
Best
Ari
Best
Ari
Ari
Re: check if there is an internet connection
Well noted Ari. I've just added in a brief mention of it on the sync pages and a link in the "see also" block.
Sherrell
Sherrell