[progress Communities] [progress Openedge Abl] Forum Post: Re: What's The Sequence Of...

  • Thread starter Thread starter Patrick Tingen
  • Start date Start date
Status
Not open for further replies.
P

Patrick Tingen

Guest
It is /probably/ the record with the lowest recid (emphasized the word 'probably' here) but that is the one that was first encountered in your for-each. Have you placed messages inside the for each loop to see what record gets added first? In different scenarios? You should really do that, even if it was for fun, because like David said, you can't trust it. If there are no explicit rules for the order of the records, then they might change in a future version. Or they might behave differently on another OS. If you need a specific order, or if you just want to make sure they always have the same order, then enforce it by adding extra statements to the query. If that is not possible, then I guess you will have to live with it....

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