Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Wizard's form find button
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00063959
Message ID:
00064461
Views:
51
>>>>>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
>
>I didn't understand your reply. Did you have another question?
No, thanks again
Oleg
Previous
Reply
Map
View

Click here to load this message in the networking platform