Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need help with Data Mismatch on a date field 1

Status
Not open for further replies.

dlsd619

Technical User
Jul 11, 2007
14
0
0
US
Can somebody help me with the following string. It's a date field and I have never done this with a date field. Not sure how to use the # and etc...

I currently have it set for a text field, but that is just not working.

Thank you:


rs.FindFirst "[ActivityDate] = '" & Me![txtActivityDate] & "'"
 
Try
rs.FindFirst "[ActivityDate] = #" & Me![txtActivitydate] & "#
 
Thank you...I couldn't figure it out. I just couldn't let go of those single quotes..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top