project BLF > class BReportRequestBase > method ValidateFolderMandatory
validation procedure
Description
check if folder name is defined
Parameters
icTargetField | input | character | Value of the business field to validate. |
icTargetFieldName | input | character | Name of the business field to validate. |
icRowid | input | character | Contents of field tc_Rowid, if the target field is a field of a component temp-table. |
icFolderName | input | character | |
oiReturnStatus | output | integer | Return status of the method. |
Internal usage
BLF
program code (program1/breportrequestbase.p)
if icTargetField <> ""
and icFolderName = ""
then do:
<M-2 run SetMessage
(input #T-2'You must specify a save folder.':255(9190)T-2# (icMessage),
input '' (icArguments),
input icTargetFieldName (icFieldName),
input icTargetField (icFieldValue),
input 'E' (icType),
input 3 (iiSeverity),
input icRowid (icRowid),
input 'BLF-149':U (icFcMsgNumber),
input '' (icFcExplanation),
input '' (icFcIdentification),
input '' (icFcContext),
output viFcReturnSuper (oiReturnStatus)) in BReportRequestBase>
oiReturnStatus = -1.
end.