OEMClient:=@Environment("OEMClient");
CSDocType:=@If
(
OEMClient = "1";
"0";
"3"
);
@If(@ClientType = "Notes"; @Environment("CSDocType";CSDocType) : @Command([Compose];"Appointment") : @Return(0);"");
path := @ReplaceSubstring(@ReplaceSubstring(@Subset(@DbName;-1);"\\";"/");" ";"+");
@URLOpen("/" + path + "/Appointment?OpenForm&Type=3")
ohne pistole und Gewehr

das steht unter dem Button im Mailfile, wenn's dir weiterhilft .....
Edith P.S.: der Code steht innerhalb der DB, nicht im Client selber