Das Notes Forum

Domino 9 und frühere Versionen => ND6: Entwicklung => Thema gestartet von: ch am 31.03.05 - 11:33:05

Titel: ID ändern
Beitrag von: ch am 31.03.05 - 11:33:05
Hallo,
ich möchte mittels Script die Antwort ID ändern, so das ich eine Antwort die zu Dokument A gehört einem Dokument B zuordnen kann. Ist das möglich?

cu claudia

Vorher:
Dokument A
  ->Antwort A
Dokument B
  ->Antwort B


Nachher:
Dokument A
Dokument B
  ->Antwort A
  ->Antwort B
Titel: Re: ID ändern
Beitrag von: Glombi am 31.03.05 - 11:34:53
Das geht so:

Call notesDocument1.MakeResponse( notesDocument2 )
Parameter
notesDocument2
The document to which notesDocument1 becomes a response. If you specify Nothing, this method will generate an error.
Usage
You must call Save after this method if you want to save the change you have made.

Andreas

P.S.: Willkommen im Forum :)
Titel: Re: ID ändern
Beitrag von: ch am 31.03.05 - 12:03:52
Dankeschön,
hat super funktioniert.