Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
 
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

  

PreviousPrevious NextNext


Vahe Ayvazyan 27.Feb.07 05:26 AM a Web browser
Applications Development 6.0.2 CF2 Windows XP


Hi,

I gather data from lots of checkboxes on a form (quantity varies). As a value, each checkbox gets a "city name" + "_" + "infosession date", and each time a form is submitted, the following string (e.g.) is being saved from checkboxes into the "infosessionChoices" field on the form:

CITY1_DATE1, CITY2_DATE2, CITY3_DATE3
etc., with these comma separated values ranging from 1 to many (since the quantity and values of checkboxes varies)

At the same time, the same form gathers visitor name and details, so the idea is for the visitor to register for one or many info sessions in different cities.

Now, my question is:

I need to create a view which will categorise by city, then categorise by info session date, and then show who is registered for a particular info session. How can I do that?

I do the following in my view at the moment, and it's almost solves my problem, but ... only almost:

1. City (categorised, sorted, formula = @If(@Contains(infosessionChoices; "_"); @Left(infosessionChoices; "_"); "");
2. Infosession Date
3. Attendant Name

This works fine and produces the following (e.g.)

"
London
01/01/08 Mr.Smith
01/01/08 Mrs.Smith
05/05/08 Mr.Invisible
Paris
02/02/08 Mr.President
03/03/08 Mrs.President
03/03/08 Mr.Lover
"

BUT i need it to be:
"
London
01/01/08
Mr.Smith
Mrs.Smith
05/05/08
Mr.Invisible
Paris
02/02/08
Mr.President
03/03/08
Mrs. President
Mr.Lover
"

The thing is, when I try to categorise also by info session date, putting the folowing formula (@If(@Contains(infosessionChoices; "_"); @Right(infosessionChoices; "_"); "")), then it gives weird results. E.g., if the person registered for London_01/03/2007 and Paris_27/03/2007, the view shows that person also in Paris 01/03/07, which does not even exist!

Sorry for overloading you with this info, but hope that it is understandable. I would really appreciate any help/advice!

The main idea is to be able to collect values of N number of checkboxes, consisting of "location_date" scheme, and then display these values in a view categorised by location, and then by info session date.

Thank you!








  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

 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 Connections Cloud Developers
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
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite