Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1928128
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T06:56:28+00:00 2026-05-17T06:56:28+00:00

I have about 20,000 records (coming from an SQLite db) that I need to

  • 0

I have about 20,000 records (coming from an SQLite db) that I need to present to the user for possible choices, so conventional picker control is out of question.

Another possibility could be an indexed UITableView where user could check the desired value, however keeping all the 20K records in the memory doesn’t seem like a good idea.

how should I go about implementing UI for it? EDIT: is it possible to do something like auto-complete combo-box?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T06:56:28+00:00Added an answer on May 17, 2026 at 6:56 am

    I’d look at some sort of nested UI i.e. a UITableView that has just A, B, C etc to start with and when the user presses on a row show another table view with all the results starting with A.

    There would need to be a query that got the number of results that started with A, B, C etc so you only showed letters in the first table that actually has results but then each query in the second table would be very simple – all results starting with ‘A’ etc.

    You’d never have to load all 20,000 results into memory at the same time 🙂

    However, you should probably make sure that you have an index on the field that you’re querying, otherwise your queries are all going to be rather slow 🙁


    The other solution is to use a search box at the top of a table view – the user types in letters and each time the list is reduced to only results starting with that letter. That’s a pretty simple query to implement 🙂

    However, you would then still have the problem of what to do if the user hasnt typed anything in – do you show a message asking them to type or do you show all 20,000 results in an enormous list?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a CSV file that holds about 200,000 - 300,000 records. Most of
I have about 10million values that I need to put in some type of
i have about 300,000 records in this spreadsheet. and there are a couple hundred
I have a table with about 10.000 records (plus detail data in 11 tables).
i have a table with about 200,000 records. i want to add a field
I have an excel sheet which has about 150,000 records, operations like find replace,
I was wondering about it. I have to put more than 1,200,000 records into
I have about 150 000 rows of data written to a database everyday. These
We have a large (about 580,000 loc) application which in Delphi 2006 builds (on
I have about 200 Excel files that are in standard Excel 2003 format. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.