Ben Langhinrichs

Photograph of Ben Langhinrichs

E-mail address - Ben Langhinrichs







Recent posts

Fri 3 Sep 2021

When Notes table data doesn't play nicely with others



Mon 21 Jun 2021

Custom Domino Extensions presentation



Thu 10 Jun 2021

Notes 12 without all the blue


June, 2022
SMTWTFS
   01 02 03 04
05 06 07 08 09 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30

Search the weblog





























Genii Weblog

Interesting challenge for Midas

Thu 18 Mar 2004, 05:16 PM



by Ben Langhinrichs
It is disconcerting that I can't just refer to our Midas Rich Text LSX as "Midas", because now it might be @Midas Formulas instead.  Oh well, times change.

The challenge posed is this.  A previous developer at this company had written an application that used doclinks and titles, but kept them in separate field, one a rich text field and one a text list.  They want to get rid of that rather silly constraint and put the titles in with the titles, more like a newsletter.  The one gotcha is that some of the doclinks are missing, and have some text such as NA (not available) instead of the doclinks.  They just want to skip those lines, including both the title and the "NA".
Inline JPEG image
This illustrates what they have and what they want.  The question was, how would Midas (darn, there I go again - Midas Rich Text LSX) handle this?

Here is the code I came up with.  Not the most elegant in the world, but it shows a real life solution to a real life problem, for those of you who like that sort of thing.

Inline JPEG image

Copyright 2004 Genii Software Ltd.

What has been said:


131.1. anil
(03/30/2004 01:08 PM)

I could not understand this.