Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reconnect a remote view to SQL server.
Message
De
05/07/2006 03:03:15
Walter Meester
HoogkarspelPays-Bas
 
 
À
04/07/2006 17:11:36
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01133536
Message ID:
01133739
Vues:
38
Hi aleksey,

note that I'm on VFP8SP1, but in a test I already tried that. Sometimes success, sometimes it just does not work: The view won't reconnect.

Walter,


>>I was wondering if there is a possibility to get the broken remote view online again. I was looking for using ODBC api's to get the ODBC connection up and running again. Since this is already possible with offline views, there must be a way of getting this done.
>>
>>Can you (or anyone else) push me into the right direction?
>>Can you see a way out of it, or should I start programming a strategy closing and reopening whole forms ?
>>
>
>Hi Walter,
>
>There is a SQLIDLEDISCONNECT() function in VFP9. Try to disconnect "broken" connection using this function, VFP will reconnect automatically at the next attempt to use that connection.
>
>Thanks,
>Aleksey.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform