Solved

Button in Memo

Posted on 2002-06-19
13
289 Views
Last Modified: 2013-12-18
I have asked this question before, but really never got a good detailed answer. Our receiving department fills out a form in a database and clicks on a button to notify people that they have packages awaiting their pickup in receiving. In that notification memo, I would like there to be a button (I do not want to use a doclink) for the recipient to click just before he goes down to pick up his or her package. This button would modify a date/time field for the pick-up time in the original document.

Any suggestions?  I will up the points for a good answer.
0
Comment
Question by:schmad01
  • 7
  • 5
13 Comments
 
LVL 10

Expert Comment

by:zvonko
ID: 7093755
My suggestion would be to place a button into the notification containing a @MailSend command with all parameters to send a note back to original application database referred as a MailIn database. Into this @MailSend you can construct all the parameters to dedicate in Subject or Body the required infos for referenced document and dates. This response documents could be processed at receiving time or used without data transfer to destination documents in own views.

Is this something interesting to you?

0
 
LVL 10

Expert Comment

by:zvonko
ID: 7093783
Please give also the link to this old question you mentioned.

And try to close some of your 19 open questions.
This would be fair for experts having invested their time to support you. If you need further clarification in those open questions then please post this there. But do not let them abandoned. This is not fair.

0
 

Author Comment

by:schmad01
ID: 7093893
Sorry,  Questions are closed now.  Here is the link to similiar question:

http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=lotusnotes&qid=20172411

What does PAQ stand for anyway?
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 10

Expert Comment

by:zvonko
ID: 7093913
Thanks :-)
(some feedback when closing would be also fine :-)

PAQ stand for: Previous Asked Question

In your upper link I see Marilyn has already given this proposal I suggested here in my comment. So what about MailIn feedback? Have you done any tests and how far did you come?

0
 

Author Comment

by:schmad01
ID: 7094612
I never started on this as I though it was a little vague.
0
 
LVL 10

Expert Comment

by:zvonko
ID: 7094800
OK, let me say this way: Lotus.Workflow is doing all routing with MailIn addresses.

But if you prefer checking other opportunities I have some question about your Notes environment.
1.) Are all participants on same Notes server or at least same Notes domain?
2.) Does every recipient have edit access to corresponding original document which has to be updated?
3.) Is there a view with unique keys for these original documents which can be used for selecting original document?

You see already from my questions that there are many pitfalls with other workarounds not using Mailin method.

Give me please as many details as you can.

So long,
zvonko

0
 

Author Comment

by:schmad01
ID: 7095619
Sorry,  Questions are closed now.  Here is the link to similiar question:

http://www.experts-exchange.com/jsp/qManageQuestion.jsp?ta=lotusnotes&qid=20172411

What does PAQ stand for anyway?
0
 

Author Comment

by:schmad01
ID: 7095631
1) Yes, Everyone who will use this are on the same server.

2) Everyone who needs to use the database has edit rights.

3) Yes I have a field which uses @Unique to generate a document number.
0
 
LVL 10

Accepted Solution

by:
zvonko earned 75 total points
ID: 7097245
OK, then make a Button on your notification form with the following LotusScript code:
Sub Click(Source As Button)
   Dim ws As New NotesUIWorkspace
   Dim session As New NotesSession
   Dim db As NotesDatabase
   Dim srcDoc As NotesDocument
   Dim doc As NotesDocument
   Dim srcdocid As String
   Set doc = ws.CurrentDocument.Document
   srcdocid = Strleft(Strright(Lcase$(doc.Subject(0)),"docid="),";")
   If (srcdocid > "") Then
      Set db = session.GetDatabase(session.CurrentDatabase.Server,"ee/product.nsf")
      If Not (db Is Nothing) Then
         Set srcDoc = db.GetDocumentByID(srcdocid)
         If Not (srcDoc Is Nothing) Then
            srcDoc.ArrivalDate = Now()
            Call srcDoc.Save(True, False)
         End If
      End If
   End If
End Sub

That should do the trick.

In my code I placed into Subject field a string like this:
xxx,docid=0000009C6;

And this docid was the docid of a document in ee/product.nsf
Therin is a field updated by the Button with the name:
ArrivalDate

Change the code according to your environment.

And tell me how it works for you.

So long,
zvonko


0
 

Author Comment

by:schmad01
ID: 7097284
Excellent Zvonko!  Thanks alot!
0
 
LVL 10

Expert Comment

by:zvonko
ID: 7097302
You were fast with your testing!

Thank you for the points and for your feedback :-)

Cheers,
zvonko

0
 
LVL 9

Expert Comment

by:Arunkumar
ID: 7098416
:-)

Still I will be the first to hit 100k buddy !

LOL !
0
 
LVL 10

Expert Comment

by:zvonko
ID: 7098447
Wait and see ;-)
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

This is an old article, please see an updated version of this article, located here: http://www.experts-exchange.com/articles/23619/Notes-8-5x-Windows-7-Notes-info-and-tips.html
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 Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

832 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