* With the project open >FOR EACH oFile IN _VFP.ActiveProject.Files > IF oFile.Type="K" && form > * Open the form either in the Form Designer > MODIFY FORM (oFile) NOWAIT > AssignUniqueControlIDs() > Keyboard '{Ctrl-W}' > ENDIF >ENDFOR >Unfortunately, the Ctrl+W doesn't work, so the form does not save.