Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Upsizing and the automatic update using a connection
Message
De
29/12/2016 19:22:12
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Upsizing and the automatic update using a connection
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01646203
Message ID:
01646203
Vues:
50
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
Répondre
Fil
Voir

Click here to load this message in the networking platform