Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Sorting strings with integers..
Message
From
13/01/2007 04:03:34
 
 
To
12/01/2007 09:27:02
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 6
Miscellaneous
Thread ID:
01184851
Message ID:
01185338
Views:
18
>>
>>TBH, I'm not a fan of using multiple fields for a PK (always assuming this is one of course).
>
>I had never assumed this to be for a PK - which I always argue to be a LongInt where possible or an Integer in vfp. No reason to "meaningfully sort" on a PK in my book, as they should be devoid of info.
>
>>And if you stick to one field then whether you reformat the field or bodge an index on the existing format you still have to enforce the rules for subsequent data entry.
>
>Yupp, but this is much easier to communicate throughout documentation if there are 2 fields each with a different spec.

There's also a bigger flaw in the PADL ideas - fields such as 'HMD1' and 'HMD01' will be identical.....
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform