Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get value from search form and display records
Message
 
 
À
14/06/2007 12:15:43
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:
01233094
Vues:
8
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
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform