>I have a form that I have based on CBizObjNoListMaint that I am trying to use a find form with (obviously). I have created my find form, ensured that I have the proper code in the click event of the find button, ensured that I have set the cFindForm property to my find form class name, and even compared it to the Clients form in the sample app. Whenever I click on Find, I get a error that says 'Alias oCallingForm is not found'. This is taking place in the DoForm method of my cBizObjNoListMaint form.
Hi Brian,
the way the framework instantiates a find form is by using the the DoForm() procedure to instantiated the specified form class and pass the find form a reference to your CBizObjNoListMaint form. This reference gets stored in the the find form's .oCallingForm property if all goes well. So it's odd your alias error mentions oCallingForm. The only thing I can think of is you didnt specify a valid data environment name in your SearchListObj.oDELoader.cDataEnvironment property. See step 5 in DevGuide.doc under "Creating a “Find” Dialog from CFindForm" HTH
Roxanne M. Seibert
Independent Consultant, VFP MCP
Code Monkey Like Fritos