Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Conflict Resolution Question
Message
De
13/12/2004 16:06:25
 
 
À
13/12/2004 06:18:40
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows 2000 SP4
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
00968688
Message ID:
00968899
Vues:
7
>Hi,
>
>When using remote views, you can set the WhereType value to one of the following --
>
>DB_KEY
>DB_KEYANDUPDATABLE
>DB_KEYANDMODIFIED (the default)
>DB_KEYANDTIMESTAMP
>
>This is fine and very convenient when using views. However, I have a requirement to provide an all round retrieve/update solution to SQL server using stored procedures only. For this, I am creating a data access subclass in my framework for cursor types in Fox created solely by sprocs.
>
>Apart from writing application based conflict resolution code into the sprocs which I don't really want to do), how can the functionality provided by VFP with remote views be "utilised" or tapped into when using sprocs? Does Fox find this functionality from within the ODBC driver? If so, how can it be accessed?
>
>So, in a nut-shell, I would like to be able to send an update back to the SQL server using a sproc and have ODBC tell me when there has been some form of conflict on the server.

Not really sure what you're after here. I assume you're talking about the case where you retrieve a row from SQL server, edit it, then send it back but in the meantime the same row has been modified or deleted by someone else.

Are you talking about VFP stored procedures, or SQL Server stored procedures?
Regards. Al

"Violence is the last refuge of the incompetent." -- Isaac Asimov
"Never let your sense of morals prevent you from doing what is right." -- Isaac Asimov

Neither a despot, nor a doormat, be

Every app wants to be a database app when it grows up
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform