Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stop Append blank
Message
From
20/11/2001 16:14:55
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00584174
Message ID:
00584199
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform