Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return autonumber value of newly inserted record?
Message
De
22/11/2000 12:41:22
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00444659
Message ID:
00444671
Vues:
15
>For this purpose, I would change the structure and add a candidate key so you could retrieve the PK value using that. Otherwise, I don't know of any way with Access.

Thanks for the suggestion Larry.

>
>FWIW, if you ever decide to go to SQL Server on the back-end, you can get this by retrieving @@IDENTITY after your insert.
>

Interesting tidbit. We are actually in the process of migrating some DBs to SQL Server, so maybe it will come in handy. Thanks again.

Jon
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform