Rajat Sharma
Member
Hello Everyone,
I have few basic confusions regarding FOR FIRST:
1. Why, FOR FIRST comes with block because it retrieves only one record into record buffer.Is there any other logic behind this?
2. As FOR FIRST use multiple index and FIND use single then why don't we use FOR FIRST instead of using FIND, apparently performance of FOR FIRST should be larger then FIND because of multiple indexing?
Thanks & Regards!
Rajat.
I have few basic confusions regarding FOR FIRST:
1. Why, FOR FIRST comes with block because it retrieves only one record into record buffer.Is there any other logic behind this?
Code:
FOR FIRST customer.
DISPLAY name.
END.
2. As FOR FIRST use multiple index and FIND use single then why don't we use FOR FIRST instead of using FIND, apparently performance of FOR FIRST should be larger then FIND because of multiple indexing?
Thanks & Regards!
Rajat.
Last edited: