Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Unique Record
Message
From
07/08/2006 09:19:01
Mike Yearwood
Toronto, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01143354
Message ID:
01143418
Views:
14
>Ed,
>
>I think it's very hard to achieve what you're trying to achieve and probably not worth the effort. Your Order number should be a unique key and user should not even see it. If the later is the case, then it doesn't matter if some numbers are skipped.

The Order number should not be the primary key. It should be visible to the users, just as an invoice number should be visible to the users. The primary key/foreign key should not be visible to the user.


>
>>Dear All,
>>
>>I have made a program with a multiple station input say an ‘order’ which will have a unique order number automatically produced by the program once any user choose ‘new’ order. My problem is how could I be able to control this as any user may also opt to cancel or not to continue to process the order input. I want to avoid any order number which were not completed in the table or any order number skipped.
>>
>>Your advise would be greatly appreciated.
>>
>>Thanks.
>>
>>Ed
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform