Nov 2, 2010 #1 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
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
Nov 2, 2010 1 #2 randy700 Programmer Sep 25, 2003 2,384 US How about [blue]FieldName = Left(FieldName, Len(FieldName) - 8)[/blue] Randy Upvote 0 Downvote
Nov 2, 2010 Thread starter #3 ciarra41 Technical User Sep 11, 2006 116 US I got it Left([Fiedlname],InStr([Fiedlname]," ")-1) by yours workded too-thanks Upvote 0 Downvote