>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.
Précédent
Suivant
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