Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refreshing keyfield in a remote view
Message
De
24/01/2006 09:29:40
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexique
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Titre:
Refreshing keyfield in a remote view
Versions des environnements
Visual FoxPro:
VFP 9
Database:
Oracle
Divers
Thread ID:
01089710
Message ID:
01089710
Vues:
70
I'm working with Oracle as a backend and cursor adapters. The cursors have automatic updates (SendUpdates=.T.). I have sequences in the oracle database for the key fields so when a record is inserted the key field is generated automatically.

Well, the problem is that first, when I insert a record in the cursor I have to move the pointer for the key field to be generated by oracle.

Then when I position the pointer again over the created record the key field (user_id) show no data. I've tried REFRESH, RecordRefresh() method and CURVAL() with no success.

Does anyone have any idea how to obtain the key field data for the recently created record?

Thanks in advance!!
HAL
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform