Das Notes Forum
Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: adminnaddel am 14.08.03 - 14:08:46
-
Moin liebe Gemeinde,
hier anbei sind zwei Formel. Die erste ermöglicht LOCALBROWSE um dann in einem Feld den Path zur Datei einzufügen. Die zweite halt das InsertAttachment.
Ich aber möchte, bitte, bei Formel in einem haben. Auswahl des Attachments, einfügen ins x-Field und jetzt bitte gleich den Path zur Datei in y-Field!
1)
FIELD FileList := FileList;
newFileList := @Prompt( [LOCALBROWSE]; "" ; "1" );
@SetField( "Path"; FileList : newFileList );
2)
@Command([EditGotoField]; "Attachment");
@Command([ViewRefreshFields])
@Command([EditInsertFileAttachment]);
Kann mir bitte einer Helfen!
Danke
Andreas
-
Hi,
versuch's mal so:
FIELD FileList := FileList;
newFileList := @Prompt( [LOCALBROWSE]; "" ; "1" );
@SetField( "Path"; newFileList );
@Command([EditGotoField]; "Attachment");
@Command([EditInsertFileAttachment]; newFileList);
Axel
-
Hi,
upps, da hat sich ein Fehler eingeschlichen.
So müsste es funktionieren:
FIELD Path := Path;
newFileList := @Prompt( [LOCALBROWSE]; "" ; "1" );
@SetField( "Path"; newFileList );
@Command([EditGotoField]; "Attachment");
@Command([EditInsertFileAttachment]; newFileList);
Axel
-
;)
Danke