My Assistant
![]() ![]() |
|
|
Feb 23 2005, 05:38 AM
Post
#1
|
|
|
UtterAccess Member Posts: 42 From: Somerset, UK |
Hi
I'm probably being really stupid here, but I'm trying to filter records on a form. In the 'Filter' property in the Data tab of the form's properties, I entered HireDate=Date(), but it still returns all the records anyway. Any ideas? Thanks Joe |
|
|
|
Feb 23 2005, 05:49 AM
Post
#2
|
|
|
UtterAccess VIP Posts: 5,231 From: Scotland (Sunny Glasgow) |
Set the filterOn property to yes
hth jim |
|
|
|
Feb 23 2005, 05:52 AM
Post
#3
|
|
|
UtterAccess Member Posts: 42 From: Somerset, UK |
Sorry, I'm being dense. Where's the filterOn property? I have the 'Allow Filters' property set to yes.
|
|
|
|
Feb 23 2005, 07:30 AM
Post
#4
|
|
|
UtterAccess VIP Posts: 2,579 From: Abu Dhabi, U.A.E |
That's the same property Jim suggested...
Try: (YourRecordSource.Hiredate=Date()) HTH |
|
|
|
Feb 23 2005, 07:42 AM
Post
#5
|
|
|
UtterAccess VIP Posts: 5,231 From: Scotland (Sunny Glasgow) |
Oops, sorry about that, I miss-represented the name (IMG:http://www.utteraccess.com/forum/style_emoticons/default/blush.gif) .
Cheers Charles (IMG:http://www.utteraccess.com/forum/style_emoticons/default/frown.gif) Jim |
|
|
|
Feb 23 2005, 07:48 AM
Post
#6
|
|
|
UtterAccess VIP Posts: 2,579 From: Abu Dhabi, U.A.E |
Not much of a difference since FilterOn is used for reports (IMG:http://www.utteraccess.com/forum/style_emoticons/default/wink.gif)
o! |
|
|
|
Feb 24 2005, 12:16 PM
Post
#7
|
|
|
UtterAccess Member Posts: 42 From: Somerset, UK |
Ok, the form is set to allow filters, but e.g. tblCustomer.Forename = 'Joe' won't work and neither will (tblCustomer.Forename = 'Joe'), nor using [] around the different parts and replacing the . with a !. Any ideas?
|
|
|
|
![]() ![]() |
|
Go to Top · Lo-Fi Version | Time is now: 23rd May 2013 - 10:22 PM |