Solved

Calendar view, current date?

Posted on 2006-06-12
7
430 Views
Last Modified: 2013-12-18
I have a calendar view, its first column contains a multi-value field, so a document can appear on several dates. There is another field with date values (TestDates), it indicates when a special test on a certain date has been performed.

Formulas:
    Col 1, hidden, internal column name _XDates:
        XDates
    Col 6, show icon:
        @If(__XDates=TestDates; 82; 0)

In a categorized view, one can obtain the current category using some Notes hanky-panky, but that seems not possible in a calendar view. Does anybody have a trick to obtain the currently displayed date in a view, so not @Today but something like @ThisDate? Undocumented features are equally welcome!

Sjef

PS The loot will either be awarded those with a solution, or to those who say considerably more than just a mere "Can't do that".
0
Comment
Question by:Sjef Bosman
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
7 Comments
 
LVL 15

Expert Comment

by:mshogren
ID: 16889439
I am happy to try my hand at this one.  I have never considered thsi problem before and wonder if you could tell me what Notes hanky-panky you use to get the category in case that knowledge helps trigger something in my head that might help with your current calendar problem.
0
 
LVL 46

Author Comment

by:Sjef Bosman
ID: 16889582
Ah, I'd be happy to show you some question about that, but I'd have to look it up and EE's search mechanism is updated once a year (prove me wrong guys!)...

Found it, see this question:
    http:Q_21820532.html "Multiple values in view issue"

I think the same approach won't work here, but I must admit I haven't tried yet. If you want to give it a try, you have my full cooperation!
0
 
LVL 46

Author Comment

by:Sjef Bosman
ID: 16889780
Got it! Thanks for the push!

With just about the same mechanism as in the question I posted. What's VERY important: the columns 1 AND 6 have to be multi-value, and have to be set to "Show multiple values as separate entries. The icon-formula is now:
    dates:= @Text(_XDates; "S0D0");
    vdates:= @Text(TestDates; "S0D0");
    AB:= @Replace(@Replace(dates; vdates; "82"); dates; @Explode("0"+@Repeat(";0";@Elements(datum));";"));
    @TextToNumber(AB)

The formula effectively replaces a matching date with a tick-icon (82) and all the others with no-iron (0).
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 43

Expert Comment

by:Steve Knight
ID: 16891762
Smart, hadn't tried it in calendar view but as you know had it working great in standard view!

Didn't you say 'can't be done' when I asked the above Q BTW :-)

Adding to code snippets db...

Steve
0
 
LVL 46

Author Comment

by:Sjef Bosman
ID: 16892285
Yeah, yeah, rub it in... :S

I would have imagined some special functionality in categorized views only, but now it seems to work for all columns with "Show multiple values as separate entries", providing these columns all have the same number of elements as a cell value.

Now for the next challenge: I want to add one date to the TestDates, so one more tick-icon will be displayed. I think I can work that out, or else you will see a new question.
0
 
LVL 1

Accepted Solution

by:
DarthMod earned 0 total points
ID: 17100811
PAQed with points refunded (250)

DarthMod
Community Support Moderator
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lack of Storage capacity is a common problem that exists in every field of life. Here we are taking the case of Lotus Notes Emails, as we all know that we are totally depend on e-communication i.e. Emails. This article is fully dedicated to resolvin…
Sometimes clients can lose connectivity with the Lotus Notes Domino Server, but there's not always an obvious answer as to why it happens.   Read this article to follow one of the first experiences I had with Lotus Notes on a client's machine, my…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …

626 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question