Am Beispiel eines Mandanten-Feldes.
Code: Alles auswählen
Mandant := ccDocument.GetFieldValue('Mandant');
case Mandant of
'100' : ccDocument.Destination := '/clarc/100/Example';
'200' : ccDocument.Destination := '/clarc/200/Example';
'300' : ccDocument.Destination := '/clarc/300/Example';
else ccDocument.Destination := '/clarc/999/Example';
end;
ccDocument.AllowProcessing := true;