On Thu, Mar 2, 2017 at 11:58 AM, Ken Dibble krdibble@stny.rr.com wrote:
FOR m.x = 1 TO ALEN(THISFORM.oMail.aSortList,1) thekey = THISFORM.oMail.aSortList(m.x,10) && "array dimensions invalid"
Ken:
Is this m.x declared local to the procedure, or is it possibly shared with other m.x's in different scopes?
Try changing it to: LOCAL m.rowcounter for m.rowcounter...
This will ensure if other code fires, such as timers or menu interruptions or on key labels that m.rowcounter is still local to this procedure.