HanG321 Blog
Be Shine, Be Smile, Be Wild
  • Home
  • Blog
    • 好文閱讀 readings
    • 生活記事 diary
    • 時事評論 commentary
    • 科技資訊 technology
    • 電腦編程 programming
    • 金融財經 finance
    • 音樂電影 music/movie
  • About

document save

August 17, 2006|LotusScript|電腦編程

Saving the documet at 1st time, data is still keep on the uidoc instead of doc. Thus, need to check it is newdoc and call uidoc.save ……

Call uidoc.Refresh
If doc.isnewnote Then
  Call uidoc.Save
Else
  Call doc.save(True, True)
End If
Call uidoc.Close

 

I don't know LS

August 17, 2006|生活記事

今晚幸運之神照了一下, 看似solve 了, 明天就有分曉 ~~~

要了一客神戶牛柳, 明知這價錢既貨不是那級數 🙂

Teach Yourself LotusScript in 5 days…………..

controlled access section

August 16, 2006|LotusScript|電腦編程

In a controlled access section, in order to have access you must be listed in the list of names that has access to that section. The list of names can be hard-coded or computed, but it must be a list of names. So what if you have access to your database controlled through roles and would like to do the same for the section?Well, you will have to have your formula compute a list of names and then if you, personally, are a member of that list of names then you will have access. That “list” of names could really just be one name. In order to get that one name, use the following formula in your controlled access section:

@If(@IsMember(“[RoleName]”; @UserRoles); @UserName; “Nobody”)
Note: “[RoleName]” should be substituted with the name of your role. “Nobody” is any string except the user’s name.This will see if the user currently opening the document is a member of the given role. If they are, the controlled section access “list” of editors is the current user. The current user (obviously) matches the current user and they have access to the section. If they are not in the role, the controlly section access “list” is the string “Nobody” which doesn’t match the current user (we hope) and prevents access to the section.

...102030...89909192...120...

 

如果你喜歡我的文章,請幫忙按 1-10次 LikeButton 化讚為賞,非常感謝!越喜歡當然可以越按越多 😛

熱門文章 Popular Posts

  • Install XPEnology (DSM) 5.1 on ESXi 6 (HP MicroServer Gen 8)
    Install XPEnology (DSM) 5.1 on ESXi 6 (HP MicroServer Gen 8) June 8, 2015
  • 呢幾日個blogger 有問題….
    呢幾日個blogger 有問題…. October 28, 2004
  • assembly
    assembly February 11, 2006
  • 新工作
    新工作 January 6, 2009
  • 失望
    失望 April 3, 2006

標籤雲 Tag Cloud

amazon CentOS chroot DD-WRT Debian Domino DSM DWA ebook ebook calibre ESXi GCP git google gradle groovy HTML5 IE Java Javascript javscript Jenkins LikeCoin Linux log LotusScript mint MySQL N36L nanoboot nginx PowerShell Qwiklabs responsive route Tomcat VMware vpn vSphere wordpress XPEnology 專欄 網絡資訊 選股 風帆

日曆 Calendar

December 2026
M T W T F S S
  « Feb    
 123456
78910111213
14151617181920
21222324252627
28293031  

Follow Me

Follow Us on RSSFollow Us on TwitterFollow Us on YouTube

文章存檔 Archives

Copyright © 2004-2021 hang321.net. All Rights Reserved