Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Find Form issues - help!
Message
De
10/12/2003 10:05:29
 
 
À
10/12/2003 09:45:34
Scott Malinowski
Arizona Fox Software LLC
Arizona, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00857633
Message ID:
00857652
Vues:
22
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform