At the marvelous Engage conference I had the honor to speak about "How to get my app on mobile?". Between the obvious choices of having a … more
If date values are written to a field via LotusScript they always include also a time value. If there is no time value it is automatically set to "00:00:00". Normally this is okay. But if you want to display the document in a calendar view the result could be unwanted. Because the entry will be shown at "00:00:00". ("12:00 Midnight" for our American friends)
The calendar view works as designed. If the field contains only a date value the entry will be displayed above the time slots. If there is a date and a time value the entry will be at that time in the time slot. What a pity that there is no way to create only a date value with out time via LotusScript.
Once more Evaluate comes for rescue.
The main point is not to write the return value from Evaluate into the field. Instead use @SetField directly in the Evaluate statement.
Dim eval As Variant
eval = Evaluate(|@SetField("DateLS"; @today);|, doc)
And here it is a date value calculated with LotusScript without a time value.
Sie haben Fragen zu diesem Artikel? Kontaktieren Sie uns gerne: firstname.lastname@example.org
"Drive your dreams" - is the motto of this year's international Engange conference, which will take place in Brussels for three days ... more
9,6% market share and 18% market growth for IBM in the AI sector in 2017 – that is the impressive result of a study … more