>
>Not in a straight connection with the subject: if you need abstract classes, define them based on VFP class Shape (if possible). According to Steven Black, it's the fastest subclass and it's the less memory consumer also.
>
>Take Arnon's advice: don't use random for primary keys. Make a mechanism to be sure the key is unique.
>
>Vlad
Arnon and Vlad:
I am happy to take your advice. What I am doing now is generating the number and , in a DO WHILE loop, SEEKing it and re-generating it until !FOUND(). If I put the primary key in a table, how do I generate it? By just adding 1 to its existing value? In a busy network, am I liable to face contention problems?
Thanks, guys, for the help.
John
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement