Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reconnect a remote view to SQL server.
Message
From
04/07/2006 17:11:36
 
 
To
04/07/2006 04:08:31
Walter Meester
HoogkarspelNetherlands
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01133536
Message ID:
01133679
Views:
36
>
>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform