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

  • SEARCH
  • Home
  • 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 287731
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T05:45:07+00:00 2026-05-12T05:45:07+00:00

An aggregate type T is made up of 4 strings: t = c1 c2

  • 0

An aggregate type T is made up of 4 strings: t = c1 c2 c3 c4

Each of c1 c2 c3 c4 can have a number of unique values:

  • c1 may have a number of unique values c1.1, c1.2, c1.3, … c1.n, where ‘n’ can be fairly high, about 30,000.
  • c2 has far fewer unique values, no more than 5, i.e., n < 5
  • For c3 and c4, n is unpredictable but generally 10 < n < 100.

There are a number of instances of type T, about 200,000 — all composed of different values of c1 c2 c3 c4.

    t1 = c1.1 c2.1 c3.1 c4.1
    t2 = c1.2 c2.1 c3.2 c4.2
    t3 = c1.3 c2.2 c3.2 c4.3
    ...
    tN = c1.n c2.n c3.n c4.n

The goal is to allow the user to select a single valid instance of type T. Currently the (C# Winforms .NET 2.0) UI shows 4 autocomplete dropdowns with unique values for c1 c2 c3 c4 in each. Once a single valid instance is selected, it’s fed to an external system as input. The advantage of the current UI is that it is was quick to come up with (given this is a v1.0 release) and reasonably fast — Winforms’ standard autocomplete dropdown doesn’t seem to have a problem with 30k unique items and the user can quickly select a set of four values.

The problem with this is that while it does allow the user to quickly type what they need, the autocomplete does not help users find suitable have no idea whether the combination of values they have chosen matches an existing, valid object. For experienced users this mostly isn’t a probem; however new users keep ending up choosing values of c1 c2 c3 c4 which don’t actually result in a valid instance of type T.

My question is: is there any other way I could build a UI for entering T, so that users could have the benefit of autocomplete (I really want to avoid picklist-style interfaces, they’re much slower for entering data) while at the same time allowing new users to choose valid combinations of values?

Although the original implementation is .NET based, I’d be happy to hear about solutions in any other platforms. My question is really about designing a more efficient UI, not about specific platforms.

Edited to clarify: algorithmic (i.e., non-UI) suggestions are also welcome.

  • 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-12T05:45:08+00:00Added an answer on May 12, 2026 at 5:45 am

    My answer is not directly related to how to implement the GUI, but you could put all valid combinations t1->tN in a patricia trie and use it to build autocompletion as you type.

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

Sidebar

Related Questions

I have an Aggregate field in a client data set and I use a
In Postgresql you can create additional Aggregate Functions with CREATE AGGREGATE name(...); But this
SHould I create a separate class for each object in an aggregate or should
In Subversion you can specify a range of versions to get an aggregate view
I am wrapping a number of functions from a vender API in C#. Each
I have a collection of objects of one type that I'd like to convert
I'm struggling with aggregates and aggregate roots. I have a natural aggregate root which
I have to query for total amount of a column using an aggregate function.
App Engine Datastore cannot be queried for an aggregate result. Example: I have an
I have a data class Student, and I have an aggregate class Students. Student

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.