Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get value from search form and display records
Message
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:
01233073
Vues:
12
You can also have the search form be a form class. Instantiate it with CREATEOBJECT. The "close" button on that form does a THISFORM.HIDE. Then in the code that called it, you can say "oForm.SomeValue" then "release oForm". SO it's

oForm = CREATEOBJECT("YourSearchFormClass")
oForm.Show(1)

SrchVal = oForm.SrchVal
release oForm

Not tested. Your mileage may vary.


>I put this "thisform.oCallerForm.RefreshFromOutside()" in exit commandbutton, but same result.
>Unknown member "Unknown member oCallerForm". Is it oCallerForm or oCallingForm?
>
>Saif
eCost.com continues to rip people off
Check their rating at ResellerRatings.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform