From: Rey Magdalaga
To: Jojo Sabino
Visual FoxPro 9
Projects and Design
Monday, August 14, 2006 12:21:22 PM
This message was rated by:
> how could i check if the server is online or not
> If your using ODBC Connection the result of your SQLCONNECT Function(), if it is less than "1" there is error on connection..
> If your using Path as a direct connection of your data.. You can use FILE("Your.DBC") function to check whether your data on server is available..
Best is to login first on the server and trap the error if the server is down when you cannot open the dbc on the server. Then automatically open the dbc on the workstation and display on the screen that the user is working on offline database.
You can then put utility menu or button to check the status of the server and upload your local database to the server database and re-login to the server to work online.
Posted by Cris Abella @ 8/14/2006 8:20:52 AM
Posted by tushar @ 8/14/2006 8:27:01 AM
Posted by Jojo Sabino @ 8/14/2006 10:18:54 AM
Posted by Cris Abella @ 8/14/2006 11:01:13 AM
Posted by Jojo Sabino @ 8/14/2006 12:03:01 PM
Posted by Rey Magdalaga @ 8/14/2006 12:21:22 PM