Chaining Forms

Pat Hartman

Super Moderator
Staff member
Local time
Today, 16:53
Joined
Feb 19, 2002
Messages
45,431
Many people open multiple forms at one time. This is especially prevalent when you are using the tab view which is the default. I find that to be confusing for users so I developed a simple technique that uses the OpenArgs to allow one form to open another in DIALOG mode and then hide itself. When the called form closes, it reactivates the calling form and the code in the calling form picks up on the line immediately following the OpenForm method. This is greatly simplifies and largely eliminates a problem we see posted fairly frequently. That problem is - how to make the calling form "see" the changes made by the called form. Now you have a place to do your Requery so you can show visually what changes were made by the called form. The sample doesn't go this far but I will probably change it later especially if there is some demand to include an example of a list form opening a detail and then the list form refreshing and repositioning. But not today:)
 

Attachments

Looks interesting. I will try to implement in one (or all) of my applications. Thank you.
 

Users who are viewing this thread

Back
Top Bottom