Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
New Invoice Number
Message
 
 
À
24/11/2002 21:04:27
Ransome So
Ransome's Workshop
Hong Kong, Hong Kong
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00726308
Message ID:
00726467
Vues:
15
Also, check Alex Feldstein article:

--- How do I generate a New ID? ---
http://www.feldstein.net/newid.asp


Hope this Helps

>Dear all,

>A multiuser-file shared incoicing system face a problem:

>The system have 3 machines to run, in which one machine share the datas by set exclusive off thro LAN.

>In every time a new invoice is generated, the application create a view of all invoicenumber order by invoicenumber, the new number is the last invoicenumber + 1.

>However, the problem found when two station requests the new number simultaneously, the same number generated which destory the uniqueless of the table and the system crash.

>In what machanism can be implemented so that the invoicenumber generation can be preform reasonably.



>Regards,


>Ransome
Apoya a Visual FoxPro usandolo legalmente
--
¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º¤ø,¸¸,ø¤º°`°º
Espartaco Palma Martínez
SysOp PortalFox
http://www.portalfox.com
esparta@portalfox.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform