Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error calling a find form
Message
 
To
09/03/2000 15:19:09
Gerald McKinsey
Keystone Consulting Services, Inc.
Yorktown, Indiana, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00343821
Message ID:
00344257
Views:
22
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform