[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 257
  • Last Modified:

ON Close of a query open a form

Hello experts, I would like to know if there is an ON CLOSE event of a qry?  I dont believe there is.  If I am on a form1 and open a qry based on dblclick of a field on Form1 then I would like the Form1 to appear after the ON CLOSE of the qry.  

How can this be done if there is not an ON CLOSE event of the qry?  

thank you
0
Petrobras
Asked:
Petrobras
1 Solution
 
peter57rCommented:
Queries do not have events.
You need to create a form from your query; open the form, not the query and then you can use the form close event to return to form1.
0
 
PetrobrasAuthor Commented:
ahhhh yes.  I will do that.  thank you
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now