Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get primary field values after insert to SPT curs
Message
De
15/07/2005 09:16:03
Mike Yearwood
Toronto, Ontario, Canada
 
 
À
15/07/2005 06:22:22
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 7
Divers
Thread ID:
01032962
Message ID:
01033005
Vues:
22
Generate the PK in your app.

>I created a SPT cursor and make it updatable.
>If adding new rows using tableupdate(), SQL server fills the primary key fields.
>
>I want to get back filled primary key values to SPR cursor because the update conflict error occurs otherwise.
>
>I tried
REQUERY('mysptcursor')
>
>but this returns
>
>Function not supported for SQL pass-through cursors (Error 1504)
>
>refresh() function does not return error but does not do anything.
>
>I have read from somewhere that it is possible to use REQUERY() with SPT cursors.
>
>Any idea ?
>
>Andrus.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform