G
Guest
I have a form with 2 fields [MagDate] and [Comments]. frmSearch has 2
unbound fields with these 2 fieldnames. Search button at top of frmSearch
opens sfrmSearch which shows the results of what was searched for in below in
a subform. sfrmSearch uses qrySearch with the following criteria set for
each field: [Forms]![frmSearch]![controlname] or
[Forms]![frmSearch]![controlname] is null..... When I open the form
initially, all of my records show up in the subform. How do I get that to
NOT happen - and no records to initally appear? I also need help with the
code to make no records show up and a msgbox appear when nothing is typed
into either of my Fields.
Thank you in advance for any help...
unbound fields with these 2 fieldnames. Search button at top of frmSearch
opens sfrmSearch which shows the results of what was searched for in below in
a subform. sfrmSearch uses qrySearch with the following criteria set for
each field: [Forms]![frmSearch]![controlname] or
[Forms]![frmSearch]![controlname] is null..... When I open the form
initially, all of my records show up in the subform. How do I get that to
NOT happen - and no records to initally appear? I also need help with the
code to make no records show up and a msgbox appear when nothing is typed
into either of my Fields.
Thank you in advance for any help...