Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing Num type to Int
Message
From
22/02/2011 11:17:15
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01501221
Message ID:
01501275
Views:
53
>>>I didn't know that NUMERIC can be Identity. I actually need only 4 or 5 digits at the most for this column (the numbers never will go > 10000). Thank you very much.
>>
>>In the old days (when I was writing code generators for 2.6) I intentionally kept the customer code to 4 digits. I'd explain it to my customers as something that's short enough for their operators to memorize (that was before combos, and before I wrote the incremental search routine), and "and if you ever get more than 9999 customers, you'll send your limo and the driver to pick me up, and I'll widen the field for free".
>>
>>Notice how I avoided saying "it will never". Because each time I said that, I'd later bite my tongue. And when a customer would say it, I'd write it down as a comment in code, and show it to them later with a "what did I say?" ;).
>
>We all learn from our mistakes. Otherwise, MS would still be selling Window 3.0 :)

You mean, everyone learns from their mistakes, MS doesn't? :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform