View Single Post
  #80 (permalink)  
Old 03-18-2009, 04:09 PM
Cicatrize's Avatar
Cicatrize
ѕнρ ѕоfтшаяє
Offline
Location: Michigan
 
Join Date: Jul 2007
Posts: 2,160
Reputation: 2505
Cicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: [APP] Fart Machine V1.0

Quote:
Originally Posted by chronster View Post
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
__________________
HTC EVO 4G - Fresh 0.3
Reply With Quote