Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Shared Connection Problem
Message
From
13/07/2005 14:03:13
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Shared Connection Problem
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01032328
Message ID:
01032328
Views:
70
Anyone have an idea why the following code, run in the command window, produces the error?
OPEN DATABASE c:\vfeapps\conversion\data\play.DBC
SET DATABASE TO PLAY
cConnString = 'dsn=inorderplay;uid=jimw;pwd=xxxxxx;querylogfile=no'
nHnd = SQLSTRINGCONNECT(cConnString,.T.)
?SQLGETPROP(nHnd,"Shared")  && = .T.
USE play!v_label IN 0 ALIAS v_label SHARED NODATA CONNSTRING nhnd
* Following command produces an error, 'Base table fields have been changed and no longer match 
* view fields.'  
*I can substitute any other view in Play.dbc with the same result.
USE play!v_vendor IN 0 ALIAS v_vendor SHARED NODATA CONNSTRING nhnd
TIA,
Jim
Next
Reply
Map
View

Click here to load this message in the networking platform