Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connecting to a remote MS Access Database????
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Titre:
Connecting to a remote MS Access Database????
Divers
Thread ID:
00797528
Message ID:
00797528
Vues:
61
I want to connect to an Access database located on a server on the Internet.
I have created a DSN on my machine, and used the following code to establsih the connection.

STORE SQLSTRINGCONNECT'DSN=MyDsn') to gnConnHandle
IF gnConnHandle <= 0
= MESSAGEBOX('Cannot make connection', 16, 'SQL Connect Error')
return
ELSE
= MESSAGEBOX('Connection made', 48, 'SQL Connect Message')
ENDIF

Is there away that you can specify a timeout on the connection string to the database? At the moment if no connection can be made due to slow access to the internet, the program just hangs.

Is this the best way to do. I want to be able to add,delete and modify data on the database?

Will more than 2 people be able to access the database simultaneously from different machines?

I would really appreciate some help with this

Regards,

Stuart
Stuart Reid

True nobility lies not in being superior to another man, but in being superior to one’s previous self
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform