Domino 9 und frühere Versionen > Entwicklung
Export-Script
Selin:
--- Zitat von: klauss am 11.02.05 - 12:43:27 ---An welcher Stelle, was sagt der Debugger ?
--- Ende Zitat ---
An sieder Stelle kommt die Meldung:
tmpdoc.Abteilung = abt
Glombi:
tmpdoc ist doch gar nicht in dem Else Zweig gesetzt !
Andreas
mibo11:
Hallo Selin,
könnte es sein, dass das Objekt tempdoc gar nicht vorhanden ist?
Versuche es doch vielleicht erst einmal mit:
set tempdoc = doc.CopyTodatabase(targetdb)
statt
Call doc.CopyTodatabase(targetdb)
Gruß Sascha
Selin:
--- Zitat von: mibo11 am 11.02.05 - 13:40:17 ---Hallo Selin,
könnte es sein, dass das Objekt tempdoc gar nicht vorhanden ist?
Versuche es doch vielleicht erst einmal mit:
set tempdoc = doc.CopyTodatabase(targetdb)
statt
Call doc.CopyTodatabase(targetdb)
Gruß Sascha
--- Ende Zitat ---
habe ich auch schon probiert.
Gleiche Fehlermeldung ;-(
mibo11:
Probiere doch einmal bitte diesen Code im Else Zweig:
Set tmpdoc = doc.CopyTodatabase(targetdb)
tmpdoc.Abteilung = Inputbox$("Bitte zuständige Abteilung eingeben:", "Abteilung eingeben","-")
tmpdoc.Form = "Kontaktformular_"
doc.Type = "Kontaktformular_"
tmpdoc.Type = "Kontaktformular_"
Call tmpdoc.Save(True, True)
Gruß Sascha
Navigation
[0] Themen-Index
[#] Nächste Seite
[*] Vorherige Sete
Zur normalen Ansicht wechseln