Find First and First Difference in Progress 4GL

Status
Not open for further replies.
S

Suganthar

Guest
I'm not clear about below queries and curious to know what is the different between them even though both retrieves same results. (Database used sports2000).

FOR EACH Customer WHERE State = "NH",
FIRST Order OF Customer:
DISPLAY Customer.Cust-Num NAME Order-Num Order-Date.
END.

FOR EACH Customer WHERE State = "NH":
FIND FIRST Order OF Customer NO-ERROR.
IF AVAILABLE Order THEN
DISPLAY Customer.Cust-Num NAME Order-Num Order-Date. END.

Please explain me

Regards Suga

Continue reading...
 
Status
Not open for further replies.
Top