Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Access Forms > Form Filter on ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 5 Topic 44629 of 46474
Post > Topic >>

Form Filter on Date

by =?Utf-8?B?QUpPTFNPTg==?= <AJOLSON@[EMAIL PROTECTED] > Aug 6, 2008 at 09:42 AM

I am trying to sort from my combo box to a field named StartDate in my
form. 
 Trying to filter to a particular date.  However I get the following 
error 
message Data mismatch in Criteria. Tthen when I debug the Me.Filiteron
=True 
is highlighted.  I figure it has something to do with expecting String
data 
but is getting date data instead.  Any help would be appreciated
Here is the code I am using
Private Sub FilterComboBox_Click()
Me.Filter = "[StartDate] = """ & Me.ComboStartDT & """"
Me.FilterOn = True

End Sub
Thanks
Andy
 




 5 Posts in Topic:
Form Filter on Date
=?Utf-8?B?QUpPTFNPTg==?=   2008-08-06 09:42:01 
Re: Form Filter on Date
"Douglas J. Steele&q  2008-08-06 12:52:18 
Re: Form Filter on Date
=?Utf-8?B?QUpPTFNPTg==?=   2008-08-06 10:05:02 
Re: Form Filter on Date
"Douglas J. Steele&q  2008-08-06 13:11:45 
Re: Form Filter on Date
=?Utf-8?B?QUpPTFNPTg==?=   2008-08-06 11:25:02 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 20:04:25 CST 2008.