Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some ideas needed for the problem
Message
From
11/05/2007 12:25:56
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01224678
Message ID:
01224688
Views:
14
This message has been marked as the solution to the initial question of the thread.
>>I had to ask again, because your WEXIST does not make sense in case of modeless form, because DOform will not stop execution, it will continue further so WEXIST will always return true.
>>Now let me ask you another question to make sure: do you want changes to appear in Search form immediately when something is done in Ticket form, or after Ticket form is closed?
>
>I think I want them after the Ticket form is closed, though immediate change may be even better.
>
>BTW, don't forget that it's multi-user, so other users may change other tickets at the same time...

Whatever the option, the application flow would be following. Firstly, your ticket form should keep a reference (property) to the search form. Most likely you can pass the value when you start ticket form (assuming it's always done from the search form). Now whenever you make critical change or from ticket form Destroy event (if you want changes on close point) you may call specific method (my favorite name is 'OutsideCall') of the search form with appropriate parameter (mode). The OutsideCall method will make all necessary manipulation within the search form, i.e. in general, OutsideCall method contains DO CASE triggering different code depending on the passed parameter.
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform