Queri in front

A

Alvin Hansen

Hi!
HAve this form with a command buttun
this button runs a queri but it come behind my form
is'n there a way so i can get it in the front?

Alvin
 
F

fredg

Hi!
HAve this form with a command buttun
this button runs a queri but it come behind my form
is'n there a way so i can get it in the front?

Alvin

Either ....
Code the form's command button:
DoCmd.OpenQuery "QueryName"
Me.Visible = False

Or....
Close the form when you open the query:
DoCmd.OpenQuery "QueryName"
DoCmd.Close acForm, Me.Name
 
Top