Solved

field script on EVENT EXITING

Posted on 1998-09-28
3
345 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Lotus notes forward mail problem 5 383
Lotus notes view not working using Trim 14 209
Lotus DOMINO change "Delivery Failure Report" email address delivery 8 347
Lotus Domino server 11 62
I thought it will be a good idea to make a post as it will help in case someone else faces these issues. I trust this gives an idea how each entry in Notes.ini can mean a lot for the Domino Server to be functioning properly. This article discusses t…
Problem "Can you help me recover my changes?  I double-clicked the attachment, made changes, and then hit Save before closing it.  But when I try to re-open it, my changes are missing!"    Solution This solution opens the Outlook Secure Temp Fold…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

867 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

22 Experts available now in Live!

Get 1:1 Help Now