D
david
Is ther a way to have a commmand button set a filter for
a form by a particular field when you click it?
a form by a particular field when you click it?
david said:Is ther a way to have a commmand button set a filter for
a form by a particular field when you click it?
-----Original Message-----
david said:Is ther a way to have a commmand button set a filter for
a form by a particular field when you click it?
Example on a numeric field:
Me.Filter = "[YourFieldName]=" & YourFilterValue
Me.FilterOn = True
Example on a text field:
Me.Filter = "[YourFieldName]='" & YourFilterValue & "'"
Me.FilterOn = True
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
.
david said:If I want YourFilterValue to use what ever is in the
YourFieldName dependent on the record I am on what would
I use?
-----Original Message-----
david said:If I want YourFilterValue to use what ever is in the
YourFieldName dependent on the record I am on what would
I use?
Example on a numeric field:
Me.Filter = "[YourFieldName]=" & Me!YourFieldName
Me.FilterOn = True
Example on a text field:
Me.Filter = "[YourFieldName]='" & Me!YourFieldName & "'"
Me.FilterOn = True
--
I don't check the Email account attached
to this message. Send instead to...
RBrandt at Hunter dot com
.