Das Notes Forum

Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: alma_hase am 23.01.03 - 08:36:19

Titel: Ordner im aktiven Fenster öffnen mit Formel
Beitrag von: alma_hase am 23.01.03 - 08:36:19
Hallo !

Ist es möglch mit Hilfe einer Formel einen Ordner im aktiven Fenster zu öfnnen ? @Command([OpenView]);"Ordnername") öffnet den Ordner, aber in einem neuen Fenster.

Gruß Alexander
Titel: Re:Ordner im aktiven Fenster öffnen mit Formel
Beitrag von: Meff am 27.01.03 - 04:32:51
Hatte der OpenView nicht irgendwelche Optionen ?

Aus der Notes Hilfe :

Zitat
Syntax
@Command([OpenView] ; viewName ; key ; newinstance )
Parameters
viewName
Text. Optional. The name of the view you want to open. If you omit the view name, the database opens to its default view; or, if the user has opened the database before, to the last view used by that person. If the database is already open to the specified view, Notes/Domino makes that the topmost window.
key
Text. Optional. Indicates which document you want Notes/Domino to scroll to when it opens viewName. The key is a value that appears in the first sorted column of viewName. If you omit the key, no document is selected.
newinstance
Number. Optional. Specify "1" if you want the view to open in a new window, even if there's already a window open for the database. If you omit this parameter, the new window is opened only when it's actually needed.
Note  The view must be sorted in order for the key to work; otherwise, no document is selected when the view opens. The key column must be the first sorted column when multiple sorted columns are present.

Ich weiss allerdings nicht mehr, ob die Option "newinstance" erst mit R5 funktioniert (im Script ist das leider so).

Meff ;)
Titel: Re:Ordner im aktiven Fenster öffnen mit Formel
Beitrag von: Meff am 27.01.03 - 04:38:24
Hi Alexander,

du hast die Frage bereits gestellt und beantwortet bekommen :

http://www.atnotes.de/index.php?board=10;action=display;threadid=5336

Meff ;)