Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SQLExec - update/rollback
Message
 
 
À
17/03/2010 07:00:46
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01454933
Message ID:
01455038
Vues:
41
>I have looked at that, however I was ideally after a basic example that had only the necessary =cursorgetprop()/=cursorsetprop() commands, i.e.
>
>lnConnectionID = SQLConnect('myConnection', 'myDatabase', 'myPassword')
>lnReturnCode = SQLExec(lnConnectionID, 'exec GetMyData', 'myData')
>
>=cursosetprop() (Perform the neccesary changes to the local data to make it updatable, assign updatable fields etc)
>replace myData.myField with 'Complete'
>=perform remote update on SQL Server

We use a similar program to make cursor updatable. I think most of the properties indicated in that FAQ should be set.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform