Not to nit pick, but in ASCII, in any given position, a numeric will sort in front of an alpha character. The problem is in the positions. If you can guarantee, for instance, a 3 character field, it is possible, (and a quick fix in the stated situation) to insert a zero in front of a single digit to make what is a 3 character text field: the whole field will then sort correctly.
However, for any general design these should indeed be two separate fields, handled as described in any of the preceeding messages. Pedantic, huh? Ron Ah, yep! I just wanted to make sure that everyone knows that "numbers" inside of "text" do NOT sort numerically. Ergo the two fields, or "padding-with-zeros" trick that Don so graciously described. Assumption is that the "alpha" will always be ONE character and the "number" will always be less than "1000,000,000". Ergo the two fields, in my approach. Keep 'em separate and don't worry about it, sort by both, of course. :D -- Beverly Voth Tier3 Data & Web Services Group, LLC 606-864-0041 http://www.tier3web.com/xml.htm Web Design & Hosting * Apple: ACN & ADC Certified FileMaker 7 & 9 Developer * FileMaker Business Alliance Coldfusion, Witango, PHP, MS SQL, MySQL, FMP, XML/XSLT, CSS Over 14 years experience integrating databases and the internet!
