Skip to main content
 
developerWorks
AIX and UNIX
Information Mgmt
Lotus
New to Lotus
Products
How to buy
Downloads
Live demos
Technical library
Training
Support
Forums & community
Events
Rational
Tivoli
WebSphere
Java™ technology
Linux
Open source
SOA and Web services
Web development
XML
My developerWorks
About dW
Submit content
Feedback



developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum

developerWorks

  

Sign in to participate PreviousPrevious NextNext


Doug Finner 15.Apr.11 11:57 AM a Web browser
Domino Designer 6.5.4 Windows XP


This seems to be the week that things I thought I understood stop working...or my understanding is not what I thought. Very glad it's Friday...

View's first column is sorted/categorized
I can currently use @Unique(@DbColumn(...)) to display to the user all values in the first colume for selection and subsequent use.
Eventually, this is going to fail when we cross the 64K barrier so I'm looking for an alternative (*).

I want to give the user a pop-up that contains only a subset of values based on some key they type in.

Assume I have data as follows in col 1:
001-00001
001-00002
002-00001
002-00002

User enters '001-' as the key and I want both '001-' entries to be displayed for selection.
What we get is only the first entry.

I've looked at designer help and there is nothing that says 'partialmatch' drops you to one returned value.
I've searched the forum and also found nothing that says 'partialmatch' limits the returned data.

So does PartialMatch force you down to one hit on the dblookup or is something else going on? Code below.

TIA for any help.

Key := @Prompt([OkCancelEdit];"Lookup key";"Enter the first few characters of the folder you want to open";"");

PNList := @Unique(@DbLookup("Notes":"NoCache";"";"vwPNPicker";Key;1;[PartialMatch]));
PN := @Prompt([OkCancelList];"Pick PN";"Select the folder you'd like to open";"";PNList);

Doug

(*) For anyone who's curious, this is the same db where my @Picklist has gone crazy.

http://www-10.lotus.com/ldd/nd6forum.nsf/d6091795dfaa5b1185256a7a0048a2d0/479fa9798560a306852578720053d351?OpenDocument

I'm trying to find another way to future proof the db and fix whatever is going on with @Picklist.
The db's first column currently contains over 10,000 entries with the shortest being 6 characters and most being around 12 and some upwards of 30.

Update.
Sometimes page 2 of Google is your friend.
Found this link
http://www.codestore.net/store.nsf/unid/BLOG-20060208

Which led to this link:
https://www-304.ibm.com/support/docview.wss?rs=203&uid=swg21094657&cs=utf-8&q=dblookup%20and%20categorized%20and%20column&lang=en%20en&loc=en_US

Sort the view, drop the category and it works

Jake, thanks for the post, thanks for leaving it up, and IBM thanks for keeping the link alive all these years!








  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Author
Category
Platform
Release
Advanced search

 Sign In or Register
Sign in
Forgot your password?
Forgot your user name?
Create new registration

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds

Resources

 Resources
Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds

Wikis

 Wikis
IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums


 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
Notes/Domino 4 and 5
IBM Connections
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
IBM SmartCloud Meetings
IBM Web Content Manager
Lotus Domino Document Manager
Lotus e-learning
Lotus Enterprise Integration
Lotus Expeditor
Lotus Protector
Lotus Quickr
Lotus SmartSuite
Lotus Symphony
Lotus Symphony Developer Toolkit Support
Lotus Workflow