Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Wizard's form find button
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00063959
Message ID:
00064354
Vues:
52
>>>Trying to build my first vfp app (quick & dirty, delivery day - Monday).
>>>The form, that wizard built for me, has find button that i need)
>>>After using this button, all navigation buttons became enable.
>>>What's going on? Is it wizard?
>>>How to enable them?
>>>Thanx,
>>>Oleg
>>Sorry, they became disable, of course
>>oleg
>
>The find button made by the wizard builds an expression from the fields and operators you select in the "searchform" and applies a "SET FILTER TO" that expression. If only one record matches the expression, it is as if there were only one record, so the nav buttons are disabled. If you click "find" and then click "all" on the search form, the filter should be removed, and the nav buttons should be enabled. So, what you have should be working as designed unless you do something the form wizard doesn't expect. I made the mistake of adding my own SET FILTER TO myexpression in the form.Init. "myexpression" contained a form property which was going out of scope when the searchform popped up.
>
>Since my users and I didn't like this system, I changed it so that the expression would be put into a LOCATE FOR instead. Then I added a button which does IF FOUND()...CONTINUE...ENDIF. Then you can't search backwards, unfortunately. Such a search tool could be used even after you stop using the form wizard.

Bret,
Yes, FIND button in fact FILTER. I think it can be useful in my case,
but I still need FIND button also.
Thanks for help.
Oleg
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform