Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Upsizing and the automatic update using a connection
Message
From
29/12/2016 19:22:12
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Upsizing and the automatic update using a connection
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Application:
Desktop
Miscellaneous
Thread ID:
01646203
Message ID:
01646203
Views:
49
Hi all,

I have a local database with a connection to mssql database (2012 release)

When I do:
OPEN DATABASE ngaslgu
CREATE CONNECTION MyConn DATASOURCE "&cDSNName" USERID "&cDbUserId" PASSWORD "&cDbPassword" DATABASE "&cDbName"
=MESSAGEBOX( sqlconnect('MyConn' ) )
All seems fine, and a following command "=MESSAGEBOX( sqlconnect('MyConn' ) )" returns 1

After this, what I need is an automatic update from any saved local record to the MsSql database.. But... nothing works..

To deal with that, I tried the "wizard upsizing" procedure... but, the message to run "sp_dbcmptlevel" with level 65 comes up... On MSsql I tried to run "EXEC sp_dbcmptlevel ngaslgu, 100;" (try both 90, 100, 110)... but, nope!

Please, can someone point me a path to deal with this situation... Any help will be appreciated.

TIA
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20
Reply
Map
View

Click here to load this message in the networking platform