?
Solved

Calendar view, current date?

Posted on 2006-06-12
7
Medium Priority
?
432 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
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

For users on the Lotus Notes 8 Standard client, this article provides information on checking the Java Heap size and adjusting it to half of your system RAM in attempt to get the Lotus Notes 8.x Standard client to run faster.  I've had to exercise t…
This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses

718 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