Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PK via INSERT INTO .. FROM MEMVAR
Message
 
À
04/08/1998 14:57:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00123882
Message ID:
00123893
Vues:
15
>Can I use the INSERT INTO .. FROM MEMVAR and
>get the proper next primary key as employed in the
>Tastrade app? The nextid routine works via the
>INSERT INTO .. VALUES but not from MEMVAR.
>The uniqueness of the PK is violated that way. I prefer
>the FROM MEMVAR technique but will have to try
>something else unless there is a workaround...

Tom,

You'll need top make sure there is no memvar for the PK. For example;

SCATTER MEMVAR MEMO
RELEASE m.PkField

Then you insert should work.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform