Solved

field script on EVENT EXITING

Posted on 1998-09-28
3
347 Views
Last Modified: 2013-12-18
Hello!!

I have a field called "NAME" and i give this field a default value "" and if the user do not fill in the field his name then i will set a default text in it. Like "NO-NAME" i will do this by lotus script on EVENT EXITING and on the end i will refresh the document. Thanks.....
0
Comment
Question by:vis
3 Comments
 

Expert Comment

by:schmid
ID: 1117521
What is your question?
0
 
LVL 12

Accepted Solution

by:
fulscher earned 50 total points
ID: 1117522
Sub Exiting(Source As Field)
     Dim workspace As New NotesUIWorkspace
     Dim uidoc As NotesUIDocument
     Set uidoc = workspace.CurrentDocument
     If uidoc.editmode Then
          if uidoc.FieldGetText("Name") = "" Then
              Call uidoc.FieldSetText("Name", "NO-NAME")
          End if
     End If
End Sub

0
 

Expert Comment

by:Shirish
ID: 1117523
test
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Notes Document Link used by IBM Notes is a link file which aids in the sharing of links to documents in email and webpages. The posts describe the importance and steps to create a Lotus Notes NDL file in brief.
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

815 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now