Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Search fields

 
Anna Hays
Ranch Hand
Posts: 131
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have read some threads that the search fields (for retrieving a list of contactors in B&S) can be a text field or drop down. I prefer drop down. I am wondering how can we get a list of locations that is available to search?? I wouldn't be a hardcoded list would it?
Thanks!
 
Jacques Bosch
Ranch Hand
Posts: 319
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
IMHO, a combo box is not needed. Text fields are sufficient.
But anyway, if you want to use one, you'll have to populate your location combo from the DB file. Build a cache of unique locations and fill your combo with that.
Too much unnecessary work I think. But that's just IMO.
J
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic