Auto select from a view

I have a view which usually shows a list of different workflow options when the user wants to make a new request, but in the database I am currently working on the view only has one option and I was wondering if it was possible to make Lotus automatically select that view option without the user having to select from a list of one.

Thanks in advance

Subject: auto select from a view

your question is not clear. can you try to explain in a different way?

Subject: RE: auto select from a view

Yeah sorry wasn’t very clear.

Basically I want to automatically select the first (and only) item/option in a view and open it automatically without the user having to take time to select it.

Hope thats a bit clearer.

Subject: RE: auto select from a view

what is an item/option? views display documents, do you want the first document in the view to open when the user opens the view?

Subject: RE: auto select from a view

Sorry not made it too clear. In this case their is only one document in a view and I want it to open automatically.

Subject: RE: auto select from a view

Sure, in the view’s PostOpen event place this code in the Formula window:

@Command([OpenDocument])

Subject: RE: auto select from a view

I kinda think I get it. Neil has an action with sub-actions and would like to “uncascade” the action when only one of the sub-actions is applicable. Does that sound like a reasonable translation, Neil?