Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Updating a remote data source
Message
From
03/03/1999 09:34:47
 
 
To
02/03/1999 14:29:56
General information
Forum:
Visual FoxPro
Category:
Client/server
Miscellaneous
Thread ID:
00193279
Message ID:
00193541
Views:
15
>

>create database tovistar
I am not 100& sure, but I think you are setting to manual transactions the wrong connection handle.

>create sql view &mtable remote connection tovistar as select * from &mtable

See, the above has no SHARED in it...so when you do this:

>SELECT 2
>USE (MDATATABLE)

You are actually creating a new connection to the SQL server. I would say either add a shared to the view... or... after you do the above do:

nTestHandle = cursorgetprop('ConnectHandle',mdatatable)

If you compare nTestHandle to nHandle I think they will be different.

So, when you do this:
> sqlsetprop(nHandle, 'transactions', 2)
> sqlsetprop(nHandle, 'PacketSize', 40960)

You are really setting properties of the wrong connection.

Let me know if this is the solution.

BOb
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform