Forum: สอบถามปัญหา Notes ทางด้านเทคนิค |
Tags1: | Created on Aug 8, 2012, 2:05 PM by 9notes/9Notes|Topic Responses: 1 |
&action=openDocument&documentId=2232 |
dim workspace as new notesuiworkspace
dim uidoc as notesuidocument
dim note as notesdocument
set uidoc = workspace.currentdocument
set note = uidoc.document
sum = Evaluate(|@If(@IsError((dteFinishday-dteStartDay)/86400); 0; (dteFinishday-dteStartDay)/86400))|, note)
sumtotal = sum(0) + 1
note.caluday = sumtotal
คิดว่าคงพอได้แนวทาง ที่เหลือไปลองทำต่อดูนะครับ |
|