>I'm currently self studying Visual Foxpro and i created a single entry form via wizard and my problem is I can't edit the save command button, when i run the form and I add a record the add command button will become save button, I want to add some validation during saving but i can't find the save button when I'm editing the form. In Foxpro 2.6 for DOS a cleanup where you can add some validation and you can generate the source code is this also possible in VFP? If so how?
As Sylvain says, you can enter code in the Add/Save button's CLICK method. If you do, be sure you include a DoDefault() command so the Wizard-written code still fires.
However, please consider designing your own forms and buttons. As Jerry says, the Wizard buttons (and other code) are difficult to understand and have severe limitations. You will learn a great deal more by writing your own. If you run into trouble, post a message on UT. Lots of help here.
Barbara