Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get value from search form and display records
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 7
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01232869
Message ID:
01233073
Views:
13
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
Previous
Reply
Map
View

Click here to load this message in the networking platform