D
dcurtis
I am trying to set the following filter w/ a Macro using the SetValue
command and have been completely unsuccessful. The two arguments are as
follows:
[Form]![formname]!]Filter]
[Log_Number] Like "06*"
Basically I have a text field named Log_Number and it contains
numbers in the following format 12-345 where the first two numbers
are used to ref a year and the last three are simply sequential. I want
to be able to filter for a given year by setting a filter to show only
the records where the field starts with a certain value such as 06. I
have used this format with success in queries and can enter it manually
in the form filter property but when I try to apply it with the macro,
it puts a zero (0) in the property box.
Any suggestions are appreciated. I know that there would be a way to do
this with AccessVB but I am not a coder.
Thanks
command and have been completely unsuccessful. The two arguments are as
follows:
[Form]![formname]!]Filter]
[Log_Number] Like "06*"
Basically I have a text field named Log_Number and it contains
numbers in the following format 12-345 where the first two numbers
are used to ref a year and the last three are simply sequential. I want
to be able to filter for a given year by setting a filter to show only
the records where the field starts with a certain value such as 06. I
have used this format with success in queries and can enter it manually
in the form filter property but when I try to apply it with the macro,
it puts a zero (0) in the property box.
Any suggestions are appreciated. I know that there would be a way to do
this with AccessVB but I am not a coder.
Thanks