Domino 9 und frühere Versionen > Administration & Userprobleme

Ansicht Heute erstellen?

<< < (2/5) > >>

Axel:
Hi,

hier gibt's ein paar grundlegende Info's zur Verwendung von zeit- und datumsabhängigen Ansichten:

IBM - Time/Date Views in Notes: What Are the Options?


Axel

Axel:
Hi,

vor einiger Zeit bin ich im Web mal darauf gestossen. Hab's aber selbst noch nicht getestet.


--- Zitat ---@today in view selection formulas

By now you all must know that using @Yesterday,@today ,@tommorrow in column or selection formulas impacts the efficiency of your application. It also causes the view refresh indicator to display constantly because every time the view is opened it creates an index.
Here is a solution:
Select Form="frm_birthday" and dt_birth=@texttotime("Today")

This view will show all of the employee documents whose birthdays are today, because Notes internally interprets "Today" as today's date and does not create an index each time the view is opened.
Note: "Today", "Tomorrow", and "Yesterday" are the only legal strings to use to represent relative date.


--- Ende Zitat ---


Vielleicht bringt dich das weiter.


Axel

robertpp:
Ich hab das hier schon öfters verwendet:

_Datumd:=@TextToTime("Heute");
_Datume:=@TextToTime("Today");
_Today := @If(_Datumd > [01.01.1900];_Datumd;_Datume);
SELECT Form="report"  & @Adjust(_Today;0;0;4;0;0;0) >= Termin

Wobei hier auch berücksichtigt wird ob es ein DE oder EN Server ist.

Robert

Truman2000:
Danke erstmal für die vielen Feedback's! wie siehts denn mit folgender Formel aus:
SELECT ((@Date(@Created) = @Today) & Form="Memo":"Replay":"Reply":"Forward")

Kann ich damit was anfangen oder ist die falsch?

Axel:
Hi,

soweit sieht die Formel eigentlich richtig aus, aber du ignorierst alle Hinweise auf die Verwendung von @Today in SELECT-Formel.


--- Zitat von: Driri am 18.08.05 - 08:46:47 ---Mal davon abgesehen, ich würde von der Verwendung von @Today, etc. in Ansichten abraten. Diese Views sind echte Performancefresser.

--- Ende Zitat ---


Axel

Navigation

[0] Themen-Index

[#] Nächste Seite

[*] Vorherige Sete

Zur normalen Ansicht wechseln