Why a character type? Use a long type, which handles 32 bit integers (Up to 2x10^9 +) String typpes are woefully inefficient as compared to numeric types.
If your dimension members are in a database, use a Select Count (FieldName) SQL Query to return the count of the records which match your criteria.
Last edited by loquin; 06-20-06 at 12:33.
"Lisa, in this house, we obey the laws of thermodynamics!" - Homer Simpson
"I have my standards. They may be low, but I have them!" - Bette Middler
"It's a book about a Spanish guy named Manual. You should read it." - Dilbert