0 pts.
 Lotus 6.5 view
NEWBIE HERE: Looking for script or formula for creating a view of documents that do not ref documents. (no reponses) Can some one send me the script for this?

Software/Hardware used:
ASKED: July 21, 2005  9:12 AM
UPDATED: August 8, 2005  2:09 PM

Answer Wiki:
do you want to make the view using script? I'm quite sure you can't set the property "Show response documents in a hierarchy" by script or formula. What is it you need to accomplish?
Last Wiki Answer Submitted:  August 3, 2005  3:26 am  by  AndersGM   0 pts.
All Answer Wiki Contributors:  AndersGM   0 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _


 

The problem is almost certainly this line:

@SetDocField($Ref; “Form”;(@Select((@Right(@DocChildren;”1″));AprForm) ))| @AllDescendants;

The @Right function returns a string; the @Select function is expecting a number for the first parameter.

I don’t know all the specifics about your situation, but I wouldn’t recommend going about it this way. Use a field on the parent document that evaluates to true/false; set it when you save the child document. Something like @SetDocField( $REF; “MyField”; “Yes” )

 2,700 pts.