Solved

How do I make a response doc?

Posted on 1998-11-09
8
232 Views
Last Modified: 2013-12-18
I'm having trouble making a response doc to a main doc. I've created 2 forms: one is of type main document and one is the response doc. How do I make it so that after I create a main doc and I want to create the response doc, it will create the response doc and also add the response below the main doc indented.

Right now, the response is not indented. Is there a special trick to this?
0
Comment
Question by:hobster
8 Comments
 
LVL 1

Expert Comment

by:wrichard
ID: 1117626
To show the response docs indented, go to the properties of that view and click on the checkbox on the options tab that is labeled 'show response documents in a hierarchy'
0
 
LVL 2

Author Comment

by:hobster
ID: 1117627
that option is already checked, but it's still not idented.

The application is not treating the response document as a response, even though it is of type response. Is there anything I have to do to make it a response document?
0
 

Expert Comment

by:ST071698
ID: 1117628
This worked for me but it is a bit of a cheat. Find a database that has the main and response documents and views that you would like in your own application. Go into design and then cut and paste the views and forms to your own database. Then either redesign these forms to fit in with your database or copy the relevant sections to your forms and views. Either way you'll end up with something that works and is quick to do.
0
 
LVL 2

Author Comment

by:hobster
ID: 1117629
i don't want to have to copy and paste stuff from other databases. I want to know how to do it from scratch. It should be pretty easy, I think.
0
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.

 

Expert Comment

by:ST071698
ID: 1117630
The way the "template" Lotus notes databases use is to have hidden fields that link with the parent document. If you look at the design of one of the templates you can see it is as you suspect quite straight forward.
0
 
LVL 1

Expert Comment

by:bbangerter
ID: 1117631
What are you doing to create the response documents?  Are you currently looking at the document (i.e., is it open) when you create the response document?  Or are you looking at the view that contains the document you want to respond to and have the document selected?

I'm making an assumption here that you are using @Command ([Compose]; ....)
If so, according to the help files you must be in the view with the document you wish to respond to selected in order for it to correctly make the child/parent relationship.
0
 

Accepted Solution

by:
chema earned 0 total points
ID: 1117632
In the must be only one column with "Show only responses" view propertu checked.
Try to set this column in the second position of the view.
If you set this column at the end of the view the response don't be indented.
0
 

Expert Comment

by:PhilMolyneux
ID: 1117633
1. Make sure the Response Doc form is included in the view selection formula.
2. Set View properties - options tab, Show response docs in hierarchy.
3. Insert a column (Ideally after the last Categorised Column) and in the column properties - basics tab, set "Show Responses Only".

4. The column width only needs to be set to 1 and a formula similar to the following will populate the column. (note; any column values to the right of this column will not display for the response doc and the results of this formula will display indented under the next column).

AuthorName := @If(!@IsAvailable(From);"Anonymous";@Name([CN]; From));
Subject +" - (" + AuthorName + " " +@Text(@Created;"D2S0")+ ")"

"From" is a field on the response doc containing the authors username.
"Subject" is also a field on the response doc.
@Text(@Created;"D2S0") diplays a shortened document creation date.

Finally - you may want to set the properties of the next column to the right in the basics tab to "show twistie if row is expandable" - this highlights if a response doc is present without having to expand the whole view.
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

For Desktop Techs: How to retain a user's Notes configuration data when swapping out the end user's computer. (Assuming that you are not upgrading to a completely different version of Notes client) All you need to do is: 1) install Notes o…
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.
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 …

863 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

27 Experts available now in Live!

Get 1:1 Help Now