I can do this for a form:
DoCmd.OpenForm FormName:=”frm_Show Master”, WhereCondition:=”[ShowNo]=1″, Windowmode:=acWindowNormal
I can do this for a report:
DoCmd.OpenReport ReportName:=”rpt Show Master”, WhereCondition:=”[ShowNo]=1″, View:=acPreview
I can do this for a query:
DoCmd.OpenQuery “qry Show Master – 1”, acNormal, acEdit
where [ShowNo] =1
Is there a way of doing:
DoCmd.OpenQuery “qry Show Master” and set the WhereCondition
Thanks in advance for any help with this