you can’t alter the selection formula of a view from a form.
What you can do is to only show a single category of the view which you have embedded. In your form, you need to specify which category from the view you want to display.
Do it like this:
Create a CATEGORIZED view. Column1 has all the usernames and is categorized, Column2 has the classes s/he took.
Embed this view into a form.
On the form, select “embedded view properties”.
There is a “show single category” property. Use this property to enter the name of the person (exactly as it is written in Column1) which you want to display. You can do this with any formula - including @Username if you want to create a personalized view - however, keep in mind that the first categorized column of the view must match EXACTLY the result from this formula!)
You may also use a field on the form for reference (this allows the user to switch between keywords). In this case, remember to turn on the “refresh on keyword change” property on this field.
One bug with this at the moment though is that the embedded view will not print properly from a view. This is a regression bug that I have discovered and has been confirmed by Lotus. Hopefully will be fixed in 6.02
I am trying to use an EMBEDDED SINGLE CATEGORY VIEW to show all (FORM2) documents COMPOSED from FORM 1.
FORM 2 is a response document composed when a hotspot button is clicked from FORM 1 and uses the following formula (@Command([ComposeWithReference]; “” : “” ; “Form2”; 1)
I have a view set up as with my first column (DocumentID (Value, @DocumentUniqueID) defined as ASCENDING, CATEGORIZED
I’m embedding this view into FORM 1. The embedded view is a SINGLE CATEGORY view with the Show Single Category value @DocumentUniqueID
When I preview, I get the error “Category must be a single string”
Any help that anyone can offer in getting this to work properly would be appreciated.
I think that I need more specific instructions as to how to put this all together. I’m only finding bits and pieces.