Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generate a Primary Key
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00207245
Message ID:
00207250
Vues:
10
>>Does VFP have a function that will automatically generate a primary key? If not, wher would I get an example of a good genkey program?
>>/Steve Raddigan

Another important bit of code missed:

LOCAL lnSelect - goes with other local

lnSelect=SELECT() - goes at top of function

... rest of code

SELECT (lnSelect) - just before the return.

I normally forget this until after I've finished the function code, I'll have to write myself a template for functions.
Nigel B Coates
NBC Software Services
Dublin, Ireland.
eMail: Nigel.Coates@NBCSoftware.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform