Alan,
Had a prior thread on DoW vs DoU read loops.
Who the heck was the IBMer who said never to use ReadE? How long ago was
the Common conference? Possible old performance problems with ReadE?
I doubt Barbara would agree with this recommendation to never use ReadE.
Paul
--
Paul Morgan
Senior Programmer Analyst - Retail
J. Jill Group
100 Birch Pond Drive, PO Box 2009
Tilton, NH 03276-2009
Phone: (603) 266-2117
Fax: (603) 266-2333
"Alan Campin" wrote
> My recommendation.
>
> SetLL(SomeKey) File;
> DoU 0 = 1;
> Read (File);
> If %Eof(File) or
> SomeKey <> KeyField;
> Leave;
> EndIf;
> // Do something
> EndDo;
>
> Was told by IBM to never use a READE, always use a READ. From a Common
conference years ago.