Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stop Append blank
Message
De
20/11/2001 16:14:55
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00584174
Message ID:
00584199
Vues:
22
This message has been marked as the solution to the initial question of the thread.
>
>To be honest, it was my error in this stored procedure, which I just fixed. However, what if NextID table could not be opened or locked? In this case this function still would return 0 and we would end with 0 as Primary Key...
>

If you return NULL from your stored procedure (when an error occurs), your table should not allow the append. You need to make sure the accept NULLs box is not checked for the primary key field.
Steve Gibson
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform