Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi, David. FWIW, I adapted the wizard command buttons, and it worked well for me. I had similar problems to yours. The problem was that the wizard was assuming that the command button control was added at the form level. I was adding it to the pageframe pages. (Does that make sense?) Anyway, you can change the wizard code to suit your needs. WARNING: before doing so, I made a "mine" copy of class library. I sure learned a h*lluva lot about VFP this way. I'm really happy with it now, too. Also, take note of Barbara's comment about buffering. The changes are probably being saved because you're not using any, and you'll problably want to.
>I am new to Vfp5.0. I have created a test form with one table and a page frame. I have added the textbuttons (Next, prior, edit, etc) from the wizstyle.vcx class lib. I have set buffering to optimistic in the DE and in the form. When I run the form and I click the edit button, and change a field, and then click save, I get the following error message: "m.nModRecord = GetNextMod(0); Error 1596; Table buffering is not enabled.; Method: updaterows; Line: 49
>Even though this message appears each time, the changes are saved. Can anyone help? ( Is it easier to create one's own navigation buttons?)
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement