Quote:
Originally Posted by chronster
full frame work is a bit more complicated than that if you're working with different types of data in each column. For instance, the project i'm on has first name, last name, middle initial, ssn, date of birth, internal id#, medicaid number and medicare number. Medicaid and medicare can be alpha numeric. Figuring that one out was a pain.
|
Yeah, for real, man. My budget app has a tab for expenses which has Amount (currency), description (text), Due date "25th" (numeric with text), and percentages "5.4%" (numeric with text)
I had to build two different sorting algorithms and a function to strip numbers out of the numeric/text fields, then select case based on the column to finally make it work fast on a mobile device. I recoded my sorting sub like 4 times before I got it to move quickly. Had to use a couple arrays and some good ol' bubble sorting