I need an if() condition in a ForAll(Collect()). Simple as this:
ForAll(KDL_Data_All,If(LookUp(Combine_All,PartNumber=KDL_PartNumber,PartNumber)=Blank(),
Collect(Combine_All,{
PartNumber:KDL_PartNumber,
If(LookUp(ACCT_Data_All,ProductID=KDL_PartNumber,Title)=Blank(),AcctDesc:"<NO ACCTIVATE>"),
KDL_Desc:KDL_Title,
MD_Description:"<NO_MDL>"})
)
)
I'm guessing I'll have to wrap an If() around Collect() instead?? I'd rather only have the one statement, but I guess it will do...