Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trying to Stop Duplicates IDs
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00572064
Message ID:
00572621
Vues:
30
Basically the 9 chars Id is retunred and uses almost all char in the ascii set starts from chr(33) skipping quotes (single and duoble) and a few other character that may clash but then goes on to CHR(254) skip the null char(255).

Where would my string compare fail?

Ive tried == and that too didnt work

Thanks for your interest

>>Yes the function has the tendency to return same value on fast machines as the code is executed in the same milisecond (it is somthing similar to what one of the FP function has for unique value). The reason for putting this loop is that when ever a same value is returned the loop should execute again to get another and so on till a different id is returned
>>
>>It is in FPD25b.
>>
>>The main thing is why is the string compariion failing??? That is my main concern.
>
>In this case I don't see any problems with your code. Can you provide some additinal info about the format of the generated Id?
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform