Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get value from search form and display records
Message
De
14/06/2007 12:28:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Divers
Thread ID:
01232869
Message ID:
01233097
Vues:
11
>Where to put this "ThisForm.oCallingform.RefreshFromOutside()" in Search Form or in Caller form.
>
>In the Search form.
>
>As I create oCallingForm property in Search Form and
>
>Correct.
>
>RefreshFromOutside Method in CallerForm.
>
>Correct.
>
>And in this (RefreshFromOutside Method) I put this code
>(ThisForm.contMaster.Basecont1.cboSalesOrder.InteractiveChange()).
>>
>>Please suggest ..
>

>
>Everything is fine, except that we may also need to pass the cursor (result of the search) back to the Caller form. Do we need to do that?
>
>If yes, few techniques:
>
>1. Let's Search form to share Calling form's DE, e.g. make search form to use default DE. In this case the cursor created in Search form will be visible in the caller form.
>
>2. Pass it back and forth using CursorToXML/XMLToCursor functions.
>
>3. Use ideas from the FAQ by

When someone wants to pass a cursor from one form to another then the most consistent technique is to create this cursor in the calling form and assign its alias to one of the properties of the calling object.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform