Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Txtbtns Blues
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00270211
Message ID:
00270435
Views:
25
>I have an app with a Main Form which allows the selection of 4 other forms. The sub forms each have a grid and a button object. The button bar came from \Microsoft Visual Studio\vfp98\wiztxtbtns.vcx, and it is called txtbtns.
>
>There are 10 buttons in this group. The "Find" button works on 1 form and not the other three. In each case the "Find" button displays a query dialog box, and knows what fields are available in the grid. But 3 of 4 give me no results, the 4th is perfect. I added this commandbutton class from a tool bar, and in each case set gridalias to the appropriate grid name.
>
>The other controls seem to work ok. Edit, Save and Revert do just what I expect. Navigation is a little funky, but that could be an indexing issue. I'm not too concerned about that.
>
>Any thoughts on the find function would be greatly appreciated.

What sort of cursors do you have in the data environment for these four forms, and how is it different in the one that works?

The searchable fields are filled in during the .Init of the combos in wizstyle::searchclass using AFIELDS(). If you have a separate child cursor in your grid, its fields won't show up at all in the search class unless you modified it.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform