http://qs321.pair.com?node_id=372636


in reply to Re: Notes::OLE: Doc-Dumper?
in thread Notes::OLE: Doc-Dumper?

Type property ->returns constants like ATTACHMENT, DATETIMES, HTML, EMBEDDEDOBJECT, RICHTEXT, TEXT...

TypeName -> type of data each element in the array is, like NotesDateRange or DateTime. This can also be used for the other fields.

Zero_Flop

Replies are listed 'Best First'.
Re^3: Notes::OLE: Doc-Dumper?
by mhi (Friar) on Jul 08, 2004 at 08:14 UTC
    I only see the type property returning numeric constants such as 1024 for DateTime. Am I looking at it the wrong way? But that's not a problem as these codes are documented.

    How would you use the LotusScript function TypeName in the OLE-Interface?
    Using $dtelem->{TypeName} in the code above delivers an error Win32::OLE(0.1502) error 0x80020003: "Member not found" in METHOD/PROPERTYGET "TypeName" at ./dumpdocs.pl line 38 so it's obviously not implemented as a method on the array element... This is no fun poking around in the dark. :-(