I needed to fix some date in my main members file. FOR EACH only seems to work with CREATE, so i set a rule in my History BO to make the necessary changes to he main file
That rule is
History.HistoryOfMember.CurrentStatus=History.Status
History.HistoryOfMember.DateStatusChanged=History.DateChanged
I then created a one off process to find, and order the history. The theory being that because it was in date order ascending, the latest history record for each member would end up being the current status of the member
FIND ALL History ORDER BY History.DateChanged
UPDATE History
DIDN'T Work. UPDATE seemed to take no account of the context order
Need a workaround fast - Membership renewal time is fast approaching. All ideas will be gratefully looked at
Running windows 1280