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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

update text values 1

Status
Not open for further replies.

ciarra41

Technical User
Sep 11, 2006
116
US
I'm trying to remove 0:00:00 from a text field using left, right, mid or a substr function in a query

Old:
4/01/2007 0:00:00
11/01/2007 0:00:00

New:
4/01/2007
11/01/2007
 

How about
[blue]FieldName = Left(FieldName, Len(FieldName) - 8)[/blue]

Randy
 
I got it
Left([Fiedlname],InStr([Fiedlname]," ")-1)


by yours workded too-thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top