I'm not quite clear. Is the macro opening a form bound to the query or is it
opening the query itself?
Ken Sheridan
Stafford, England
> I have a form which is linked to a query via a macro. The results which
> display are the results of the query.
[quoted text clipped - 22 lines]
> > >
> > > Can anyone help?
Hi,
The macro opens the query in datasheet view. The macro is then linked to a
command button on my form. Someone types in a query on the form page and hits
the command button which runs the query and displays the results. As I am not
very skilled at using Access I simply used the steps outlined by microsoft at
http://support.microsoft.com/default.aspx?scid=kb;en-us;304428
It works well but I want my users to be able to further filter their search
results without having to actually click the filter by form button in the
datasheet view.
Thank you
Louise
> I'm not quite clear. Is the macro opening a form bound to the query or is it
> opening the query itself?
[quoted text clipped - 28 lines]
> > > >
> > > > Can anyone help?
Ken Sheridan - 26 Feb 2007 00:05 GMT
In that case all you need to do is to add an extra action to the macro. For
the Action select RunCommand and as the Command select FilterByForm. You
should then find the query will open with the datasheet already in filter by
form mode.
Ken Sheridan
Stafford, England
> Hi,
>
[quoted text clipped - 44 lines]
> > > > >
> > > > > Can anyone help?
Weezie1383 - 26 Feb 2007 00:58 GMT
You're my hero!! Thank you, thank you, thank you!!
> In that case all you need to do is to add an extra action to the macro. For
> the Action select RunCommand and as the Command select FilterByForm. You
[quoted text clipped - 52 lines]
> > > > > >
> > > > > > Can anyone help?