Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ID Generation
Message
From
28/03/2003 01:01:53
 
 
To
19/03/2003 17:08:44
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00767846
Message ID:
00771186
Views:
12
>Need assistance urgently. I am looking for assistance in define an approach
>for generating meaningless unique id's. Even though it is not listed as a
>requirement, each id must be unique. The customer specification is below:

Just a quite note on this. It might not be your answer but some important note you might consider. Base on what I read, it seems this will be treated as the primary key. If this is the case, you should have another field for a primary key. Assigning business logic to a primary key is not good. A primary key is a primary and should not be used other than for the primary key and establishing relationships across tables. Basically, a primary key is for internal use only. So, if I assume correctly, you might want to consider adding a new field for that. In such case, your backend contains already built in functionalities to achieve that automatically. As for your student field, you will have to create a procedure on your own and invoke that when you add a record.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Reply
Map
View

Click here to load this message in the networking platform