Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generating a random number
Message
 
À
01/09/2000 17:03:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00411998
Message ID:
00412029
Vues:
17
>Does anyone know of a free/share ware program that will generate random numbers for patient ids? In the folloiwng format: 999-9999-99999. We are currently generating based of the patient's first, last name and date of birth but are experiencing some numbers being generated twice....

Rather than generating random numbers, which aren't foolproof for preventing duplicates, why don't you just store the last number assigned, and increment the number for each new patient?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform