×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Time Still Showing up in Date Field
2

Time Still Showing up in Date Field

Time Still Showing up in Date Field

(OP)
I have a few date fields that i formated in the table with short date and a input mask...

how come when i run a query the time still shows up??

i tryed putting the   Like * & [enter Date] & * and it still wont pull up any dates?...

for some reason all my queries are like that...

is there a way around this?

I dont care if the time is still there..I just need to be able to pull these queries up by date..

can I create an update query that will get rid of the time???

Thanks

 

DVannoy
A+,Network+,CNA
dvannoy@onyxes.com

RE: Time Still Showing up in Date Field


Use # to idntify the parameter as a date?

= "#" & [Enter Date] & "#"

Terry L. Broadbent
FAQ183-874 contains some tips and ideas for posting questions in these forums. Please review it and comment if you have time.
NOTE: Reference to the FAQ is part of my signature and is not directed at any individual.

RE: Time Still Showing up in Date Field

Extract the date value of the field by using the DateValue() function in a new column of your query, place the criteria in that new column

DateOnly: DateValue([MyDateTimeField])

If you want to update all your values and strip the time you can use the DateValue function as well.  In the Update To place this:

DateValue([MyDateTimeField])

HTH

Joe Miller
joe.miller@flotech.net

RE: Time Still Showing up in Date Field

(OP)
Thanks to both of you...I guess this happens when you use date = now()..

Thats the only thing i can think of

again thanks

DVannoy
A+,Network+,CNA
dvannoy@onyxes.com

RE: Time Still Showing up in Date Field

That's exactly what happens when you use now!  

Joe Miller
joe.miller@flotech.net

RE: Time Still Showing up in Date Field

(OP)
= "#" & [Enter Date] & "#" when i use that command it gives me an error saying the expression is to complex or something like that..

DVannoy
A+,Network+,CNA
dvannoy@onyxes.com

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close