Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Find Form issues - help!
Message
From
10/12/2003 10:05:29
 
 
To
10/12/2003 09:45:34
Scott Malinowski
Arizona Fox Software LLC
Arizona, United States
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00857633
Message ID:
00857652
Views:
21
>Greetings!
>
>I have a cbizobjform form which contains a FIND button.
>
>I have followed the directions to the "T" on pages 218-200 of the Developers Guide in trying to get the called Find Form to work.
>
>However, when the grid comes up, it has data from the APPINCL.dbf in it?
>
>From the project manager example of find form (clientfindform), there is no business object on the form that directly relates to the view needed for the query. In my case, it's lv_customerfind. I built the dataevironment as directed and made my view "search view" (v_customerfind)the initial and default one.
>
>Clicking on the grid or the Find Now button causes a 107 error: operator/operand mismatch in the customerfindform1.searchlistobj.requery method at line 115:
>If lnRetval = REQUERY_SUCCESS AND this.lCascadeMessages AND tlDoNotRequeryChidldren = .F.
>
>Is there any "gotchas" or special issues that I need to address when trying to do this? It seems REALLY strange that there isn't a business object on the form relating to the query view. ALthough I have gone through the project manager example with a fine toothed comb, I can NOT find the problem.

I suggest checking the datasession of the search form and the calling form. The search form should be in the same data session as the calling form, while the latter is generally different than the default datasession.

I run into variations of the second issue when I wind up passing incorrect parameters to the requery process, either bad view parameter values or to Requery() itself.

Hope that helps.
Chris.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform