>Hi...I am new to Visual Foxpro and OOP...but I really like it and am
>catching on slowly but surely. :o)
>
>What is the best way to implement a search form? In my mind, I see
>the program working this way: the user calls up a specific form say
>for products, they click on the search icon on the toolbar, a
>search form appears, the user types in the search criteria and the
>the other form is pointed to the "search" record and the form
>refreshed. Would this type of scenario be best accomplished by using
>a form set? I tried to make an independent search form, but couldn't
>see a way to have both forms interact with the same database.
>
>Thanks....Tom
Tom, to answer your last question, use a Private Datasession for your data form, then call a Modal form which has the Default Datasession for the Query form. The modal form will use the calling form's datasession - in this case the original data you wish to search.
HTH
Barbara