I want to display a (string) text in a report. The data type in the report is string and i want to display the value if one of the conditions were met. I wrote below code and displays nothing.
display str dispExportImport()
{
str lblImp_exp;
;
if (CustInvoiceTable.ignVesselType == 1 && CustInvoiceTable.ignOperationType == 0)
{
lblImp_exp = "EXPORT";
}
else if (CustInvoiceTable.ignVesselType == 1 && CustInvoiceTable.ignOperationType == 0)
{
lblImp_exp = "IMPORT";
}
return lblImp_exp;
}
*This post is locked for comments
I have the same question (0)