Skip to Content
author's profile photo Former Member
Former Member

Popup Window

I have a popup window in an MDI application that displays a list of training classes. The user chooses one by double clicking the row in the popup. The popup uses embedded SQL to insert that row from the training table into a table for a particular user. Works fine. But after the insert and either before or after I close the popup window I would like to do a new retrieve for the data window which received the insert. How does one call a popup, choose a selection, have it inserted into a table, close the popup, and then refresh the data window for the user so they can see it is there? Where would this last retrieve statement go?

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 14, 2016 at 12:11 AM

    If you used a Response window, it could go after the Open.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Ricardo Jasso

      Yes, it might need to be though.

      Your recommendation to use the CloseWithReturn is an excellent suggestion following Roland's "Response" window suggestion.

      However, this may totally change the workings of the application if the Pop-up (or even a child) window is being used as a floating toolbar or interactive work area. Changing any window to a type Response makes the entire application Modal. This could change the whole design flow by blocking interactive workings with other object classes or interfere with multithreading activities. All these things should be considered before arbitrarily changing a window's typing.

      Just saying. 😉

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.