>>>>>>>I've noticed some odd behaviour.
>>>>>>>
>>>>>>>I have a research form that I run right from the project. It is not an exe but is compiled in the project. On that form are a series of buttons.
>>>>>>>
>>>>>>>If I choose to modify the code under button1 and then close the editing page for that code.
>>>>>>>Then I open the code under button2 or button3 etcetera the code from the previous edit session under button1 appears as the code under button2 and button3 etcetera.
>>>>>>>
>>>>>>>Is anyone else having this odd problem?
>>>>>>
>>>>>>It would be a good idea to make a backup and then pack SCX file.
>>>>>
>>>>>Thank you Mr. Pikman:
>>>>>I packed the scx and there was no change.
>>>>
>>>>You might try backing up the scx and then opening it as a table - 'use form.scx'. Then:
>>>>
>>>>REPLACE ALL objcode with ""
>>>>
>>>>close the table, and then rebuild your app or exe.
>>>
>>>Instead on rebuilding the whole project, just use the command:
>>>
>>>
>>>COMPILE FORM <form name>
>>>
>>
>>No luck so far. I have a previous version of the form. I'm going to delete the problem form and upgrade the code in the backup. Thank you folks.
>
>So I deleted the problem form and then found that the backup has the same problem.
If deleting the objcode and recompiling the form doesn't do the job, then reopen it as a table and check the contents of the 'methods' field. If the code there is the same for each of the objects, then I guess you're toast.
If not though, then at least you can copy the method code from each of the objects and paste it into a text editor. Afterward, you can modi form and paste each one back to what it should have been.