SRIKANTHBENONI
New Member
- Joined
- Jun 30, 2010
- Messages
- 46
Hi All,
I have created a form and same was assigned as parameters to a Query, i have even have a "Ok Button" in the form. Am facing a problem here, when i click the Button(OK) i has to run the Query and save the report to specific folder or path
Infor:
Private Sub OK_Click()
Me.Visible = False
DoCmd.OpenQuery "MULTIPLE", acViewNormal, acEdit
DoCmd.Close acForm, "MONTH"
End Sub
Could someone help me to run the query through form and save the report in Excel formate.
I have created a form and same was assigned as parameters to a Query, i have even have a "Ok Button" in the form. Am facing a problem here, when i click the Button(OK) i has to run the Query and save the report to specific folder or path
Infor:
Private Sub OK_Click()
Me.Visible = False
DoCmd.OpenQuery "MULTIPLE", acViewNormal, acEdit
DoCmd.Close acForm, "MONTH"
End Sub
Could someone help me to run the query through form and save the report in Excel formate.