Domino 9 und frühere Versionen > ND6: Entwicklung

Problem mit ProfilDoc auslesen

(1/1)

adminnaddel:
Hallo liebe Gemeinde,

hier ein Auszug aus einem Forwarding-Mail-Script ....


...
 Dim stRecipient As String
   Set profdoc = db.GetProfileDocument("prof", s.UserName)
   stRecipient = profdoc.fwdaddress
...

doch leider kriege ich schon in der dritten Zeile ein "Type mismatch"  ???

fwdaddress ist aber gefüllt!

lg Andy

zhermann:
Hallo Andy,

dein profdoc ist doch vom Type Notesdocument, oder???
Dann mußt du es mit profdoc.GetItemValue("fwdadress") (0) die Daten auslesen.

Gruß

Zsolt

adminnaddel:
Oh mein Gott  ;D DANKE!!!

lg Andy

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln