Solved

field script on EVENT EXITING

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

  In today’s Arena we can’t imagine our lives without Internet as we are highly used to of it. If we consider our life style just for only 2 min we found that face to face communication is swapped by e-communication.  Every Where from Works place to…
This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
Internet Business Fax to Email Made Easy - With eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, fr…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

708 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

15 Experts available now in Live!

Get 1:1 Help Now