Home > Ask the Domino Experts > Domino Development Questions & Answers > How can I use the results from a view column as a list of choices?
Ask The Domino Expert: Questions & Answers
EMAIL THIS

How can I use the results from a view column as a list of choices?

Andre Guirard EXPERT RESPONSE FROM: Andre Guirard

Pose a Question
Other Domino Categories
Meet all Domino Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 19 August 2003
I need to retrieve the values from a view column and use the result as the list of choices in a list field. I often meet the 64 KB limit of @DbColumn or because of the list field (if I use another way, script or DLL, to retrieve all the data). What is the best way to do this?

>
A few ways to deal with this. If you actually have 64 KB worth of choices, I see a couple of ways to go.
  1. "Use View dialog for choices" -- but then you lose the ability to typeahead in the field.

  2. Split up the field into two fields, set up as category and subcategory. This is complicated to program so that illegal input is impossible, but users may find this more usable than an interface that asks them to choose among over 1,000 choices in a single list. Cognitive scientists tell us that most people can effectively deal with about 7 choices in a list.
If you don't actually have 64 KB worth of choices (e.g., you use @DbColumn to get a column that contains duplicates, then use @Unique to remove the duplicates, then you can get around the 64 KB limit by looking up the values from a categorized view, so that @DbColumn returns values that are already unique. This is actually more efficient, since @Unique is an expensive function, and so is the server sending the client a lot more data than the client actually needs.


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Domino Development
Can I create and copy Microsoft Excel spreadsheets with LotusScript?
'Illegal circular use: Audit Trail' error when opening Lotus Notes docs
How to make computed fields recalculate
Sending and logging faxes from Lotus Notes and Domino
Accessing documents in a Lotus Notes database
Adding an action to the Lotus Notes right-click menu
Writing temporary text files that email as attachments
Trapping the on-click event of a radio button
Copying a form object using LotusScript
Connecting to a remote DB2 server with LEI

Lotus Notes Domino Formula Language
View hidden fields on Lotus Notes/Domino forms
Case-insensitive @Unique version combines fields on Lotus Notes forms
Do I use Formula or LotusScript to include a doclink to a Notes view?
Top 10 Lotus Notes/Domino coding and development tips of 2008
Provide rich-text formatting via the Profile document and Formula
Top 10 Formula language tips
Using Formula language code to sort Lotus Notes messages by subject
How to create dynamic JavaScript in Notes Domino without formulas
Stop response documents from showing in a Lotus Notes form
Formula language button manages Deny Access list searches

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Lotus Notes Domino on Blackberry and mobile devices
HomeTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts