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:
01232984
Views:
17
>The is also a bit different approach to your problem than Borislav suggested.
>
>Add to the Init of your search form
>lparameters toCallingForm
>thisform.oCallingForm = toCallingForm
>
>and add a property oCallingForm to your search form.
>This way you passed a reference to your Search form of the Caller form.
>
>When you call your search form, do it like
>
>do Form search with thisform.
>
>In your Search form when you're ready to refresh the Caller form you'll do
>
>thisform.oCallerForm.RefreshFromOutside()
>
>In your other form add this method RefreshFromOutside and re-populate your combo in this method.
>
>I'll search a thread for you where this idea was discussed in more details later.
>
>BTW, Borislav participated in this thread (started by me) :)

Here is the thread, BTW, Re: Some ideas needed for the problem Thread #1224678 (And I see I choose a great title, didn't I?) :)
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform