Home > Domino Tips > Developer > Domino > Solution for DbColumn 64k limit on the Web
Domino Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

DOMINO

Solution for DbColumn 64k limit on the Web


Rajni Huria
01.02.2002
Rating: -4.29- (out of 5) Hall of fame tip of the month winner


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


View member feedback to this tip.

DbColumn is very useful and is frequently used in Domino applications. But what if the limit exceeds 64k? Here is a solution for that limitation.

Code

Step 1: Make a view  with one column.In the column write this formula:
"<option>"+lookupfield+"</option>"   

 (lookupfield is the fieldname, you want to lookup)

Enable view property "Treat view content as HTML"

Step2: Open the form where u want to make a lookup.
 Put these lines 
[<SELECT name="lookuplist">]  
 embed the view here you created above.
[</SELECT>]
 (lookuplist is the field on your form, which will capture the value
you select from the list) Open the embedded view properties. In the first tab ..select Display using HTML In the second tab select. Customize the size of window according to your requirement And Select "Show Content only"


MEMBER FEEDBACK TO THIS TIP

This tip works, but the maximum number of entries it can display is 1000.

-- SearchDomino.com member

********************************************

This tips works fine for getting round the 64K limit -- until you hit another limit, that is. The limit on how many lines can be displayed in the view is what seems to be capped at 1000 (R 5.12) I have more than 1000 options to display and would be grateful if the author of the tips can give me some feedback.

-- Aymen M.

******************************************

I have a way to get around the problem mentioned about the 1000 line limit. There is a server document setting that allows you to specify the maximum number of lines to return on a view listing. It's called "Maximum lines per view page." The default value is 1000. This can be changed to 0 for no limit or any other number. This setting does affect every database on the server, but it is only specifying a maximum, not the default. That is a separate field in the server document.

—Michael H.


Do you have comments of your own? Let us know.


Rate this Tip
To rate tips, you must be a member of SearchDomino.com.
Register now to start rating these tips. Log in if you are already a member.




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


RELATED CONTENT
Domino
Mimic Lotus Notes Domino application functionality on the Web
A single form to view and edit any Lotus Notes document
DECS and DCR external data access considerations
How to create non-scrolling Lotus Domino view headers on the Web
Disabling the 'Submit' button on a form
An easier way to update a rich text field
Results from Default Notes Search have # of responses in brackets
Lotus Notes/Domino veteran offers comprehensive list of app dev tools
Notes to XML. . .and back again
Creating thumbnail images using LS2J in LotusScript

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

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.

HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersDomino IT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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