if some condition return endif code code code if some other condition return endif code code return>>I have a VFP 8 multiple page pageframe that contains about 100 text boxes. I want to stick in a line of code, "m_fieldmodified=.T.", in the interactivechange event of each text box. Many of the text boxes already have text in the interactive change event. Is there a quick way of doing this?
ASelObj(laCheck) >For Each loCheck in laCheck > lcCode=loCheck.ReadMethod("InteractiveChange") > lcCode=lcCode+Chr(13)+"m_fieldmodified=.T." > loCheck.WriteMethod("InteractiveChange", lcCode) >Next>You may need to modify this code to put the line at the appropriate place, but it should get you started.