E
Eric
I have two actions in my Macro, which is activated when
someone presses a command button on my form. The first
is "OpenQuery", which works just fine. The second
is "ApplyFilter", and it is not working, probably because
I did something wrong in my WHERE clause. On the form,
there is a field called "part number". The user types in a
part number then clicks the command button, which opens
the query. I want to automatically filter the query to
display only the records that match the part number they
typed in the current record. Currently, my WHERE clause
reads as follows:
[queryname]![Part Number]=[Forms]![formname]![Part
Number].CurrentRecord
I've tried a lot of different variations on this, none of
which have worked. So what am I doing wrong?
Thanks for the help!
someone presses a command button on my form. The first
is "OpenQuery", which works just fine. The second
is "ApplyFilter", and it is not working, probably because
I did something wrong in my WHERE clause. On the form,
there is a field called "part number". The user types in a
part number then clicks the command button, which opens
the query. I want to automatically filter the query to
display only the records that match the part number they
typed in the current record. Currently, my WHERE clause
reads as follows:
[queryname]![Part Number]=[Forms]![formname]![Part
Number].CurrentRecord
I've tried a lot of different variations on this, none of
which have worked. So what am I doing wrong?
Thanks for the help!