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 ……

Visual Basic
1
2
3
4
5
6
7
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 化讚為賞,非常感謝!越喜歡當然可以越按越多 😛

搜尋 Search

簡介 Bio

香港人,現居南十字星空下。

為人貪心,科技、生活、財經、散文 皆有興趣,周身刀冇張利。

思想矛盾,喜歡現在work-life balance 既生活又懷念a city never sleep。

 

每月送我一杯咖啡支持我: liker.land/hang321




分類 Categories

  • 好文閱讀
  • 時事評論
  • 未分類
  • 生活記事
  • 科技資訊
  • 金融財經
  • 電腦編程
  • 音樂電影

文章存檔 Archives




熱門文章 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 27, 2006

標籤雲 Tag Cloud

CentOS Character chroot Cluster crash cryptography DD-WRT debug Domino DSM Dual Core DWA email ESXi GCP git google HylaFax IE Java Javascript JRE LikeCoin Linux log LotusScript mint MX MySQL nginx PKI PowerShell Qwiklabs srt telent VMware vpn vSphere WinXP wordpress XPEnology 專欄 網絡資訊 選股 風帆

日曆 Calendar

May 2025
M T W T F S S
  « Feb    
 1234
567891011
12131415161718
19202122232425
262728293031  

Follow Me

Follow Us on RSSFollow Us on TwitterFollow Us on YouTube

文章存檔 Archives

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