Different colours in Calendar
Hi,
I have created a database that lists Composers their Compositions. Both contain date fields, that I have set to appear annually in the Calendar:
- Composer: birthdate and deceased date (calculated fields, based on records for a Composer in a table called Life Events)
- Composition: date of the first performance of a piece.
The attached images shows how this appears in the Calendar.
It would be nice to have different colours for each type of event in the calendar, e.g. green for "birth", black for "death" and blue for "premiere". Is there a setting that I can/should set to have this effect?
Thanks,
Jacques.
6 replies
-
Hi Jacques,
Click on the date fields within editor, then select the colour you want to from the 'with color' option as show in the screen shot...
-
Hi Terry,
Thank you. This at least sets apart the dates that come from the composition table. In the composers table, birth and death date are calculated fields based on the "life events" table. I can give the date in the life events table a colour, but would not be able to set a colour based on the type of life event.
But at least, there is now a clearer distinction between premieres and other dates.
-
Hi Jacques,
I assume that your events is a choice field with colors, like this...
...then in "Show As" box...
...enter your code like this...
...and the result is
I hope it's clear!
-
(I hit the Post button too fast)
You can do enything you want in the "Show As" calc.
Example:
if event is "Birth" then styled(...
else if event is "Death" then styled(...
else styled(...
-
Hi Nick,
Thank you. This looks awesome! I'll give it a go and let you know :-)
Thanks,
Jacques.
-
Great! That indeed does the trick :-) Wonderful
Content aside
- 4 yrs agoLast active
- 6Replies
- 1199Views