Domino 9 und frühere Versionen > ND6: Entwicklung
Verzeichnis in Formel angeben (Anfängerfrage)
ajo:
Hallo.
Ich würde die Datenbank http://www.alanlepofsky.net/alepofsky/alanblog.nsf/dx/paste-information-application gern über ein Schaltflächensymbol aus einem Unterverzeichnis öffnen, kriegs aber irgendwie nicht gebacken.
Hat vielleicht jemand nen Tip für mich ?
database := "pasteinformation.nsf" ;
choicelist := @DbColumn("" : "ReCache" ; "" : database ; "($All)" ; 0 );
dockey := @Prompt([OkCancelList] ; "Add text..." ; "Please choose the document title containing the content you wish to paste at the current cursor position." ; "" ; choicelist) ;
@PostedCommand([FileOpenDatabase]; "ServerName" : database ; "($All)" ; dockey ; 1 ; 1 ) ;
@PostedCommand([EditDocument]) ;
@PostedCommand([EditGotoField] ; "Body" ) ;
@PostedCommand([EditSelectAll]) ;
@PostedCommand([EditCopy]) ;
@PostedCommand([FileCloseWindow]) ;
@PostedCommand([FileCloseWindow]) ;
@PostedCommand([EditPaste])
Danke
Glombi:
Die Datenbank muss unterhalb des Notes-Datenverzeichnisses liegen. Unterverzeichnisse musst Du mit "\\" trennen, bspw.
database := "tools\\pasteinformation.nsf" ;
Andreas
ajo:
Das hab ich schon probiert. Allerdings schliesst dann meine DB die ich im Zugriff habe und es öffnet sich ein Suchfenster...
umi:
Hast DU die DB Lokal oder auf dem Server "Servername" ?
ajo:
Hab die DB auf´m Server. Wenn Sie im data Verzeichnis liegt funktionierts auch einwandfrei.
Navigation
[0] Themen-Index
[#] Nächste Seite
Zur normalen Ansicht wechseln