@ How to extract the Owner of a Mail-in db (not yourself)

Hello,

I have to exclude the mail-in database’s own “Forward” memos from a view that should mirror the Inbox, with some additional data.

Unfortunately, the Calendar Profile can’t be accessed by @dbLookup or @dbColumn, so O have to use the @GetProfileField method.

The returned value should be the Owner of the Mail-in database, not the Owner of the user’s mail file, but doesn’t @GetProfileField work on the current database only? Things might work slightly different in Mail, however (=deliberate understatement)

Can anyone help me to a formula that works?

xOwner := @GetProfileField(“(Calendar Profile)”;“Owner”) ;

SELECT Form = “Memo” & AltFrom = “” & Principal != xOwner

Subject: wrong formula

Your code is looking at the form name, not the profile’s name. Try this:

xOwner := @GetProfileField(“calendarprofile”;“Owner”) ;

SELECT Form = “Memo” & AltFrom = “” & Principal != xOwner

Not sure that will work, but at least is coded to look at a profile