Tony,
>When I open my form and put the mouse cursor into a field and change it, then put the cursor into another field and change it, then click on Save, I get this error:
>
>"Collection was modified; enumeration operation may not execute."
>
>If I Tab out of the fields with the Tab key I don't get this error.
>
>I have run into this before and I've had to write code to set focus on a control then set focus on another control to get the data saved. I have lots of text entry fields on lots of forms and I really don't want to write code to fix this when my users are going to do this same kind of action.
>
>Has anyone come up with a way to fix this?
Can you post the full stack trace associated with this exception?
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com