Hello,
I am a newbie to Progress 4GL. I got an ERROR on FIND statement which I feel I should not get;
Statement #1: FIND customer NO-LOCK WHERE customer.name = ENTRY(3,"Pooja") NO-ERROR.
Statement #2: FIND customer NO-LOCK WHERE ENTRY(3,customer.name) = "Pooja" NO-ERROR.
I understand statement #2 looks stupid but there are code like this in our code base where there are multiple 'AND' conditions and one among them is like 'ENTRY(15,Field_Name)'.
Question - NO-ERROR captures the error on statement #1 but doesn't capture error on statement #2. Why? I was expecting NO-ERROR to capture 'Entry outside range' error.
I am a newbie to Progress 4GL. I got an ERROR on FIND statement which I feel I should not get;
Statement #1: FIND customer NO-LOCK WHERE customer.name = ENTRY(3,"Pooja") NO-ERROR.
Statement #2: FIND customer NO-LOCK WHERE ENTRY(3,customer.name) = "Pooja" NO-ERROR.
I understand statement #2 looks stupid but there are code like this in our code base where there are multiple 'AND' conditions and one among them is like 'ENTRY(15,Field_Name)'.
Question - NO-ERROR captures the error on statement #1 but doesn't capture error on statement #2. Why? I was expecting NO-ERROR to capture 'Entry outside range' error.