Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / March 2006

Tip: Looking for answers? Try searching our database.

In MS Access how do a only show the 19999 of 0~19999 in a column?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Tim S - 21 Mar 2006 01:20 GMT
I am trying to write a Acces query where I only show the part after the ~
sign in a column? I know how to do this in Excel but can't figure it out in
ACCESS. Can anyone give me a hand?

Thanks,
Tom Ellison - 21 Mar 2006 05:27 GMT
Dear Tim:

How about:

MID(ColumnName, INSTR(ColumnName, "~") + 1)

This is designed to work whether there is a tilda in the column or not.
What do you think?  Anywhere close?

Tom Ellison

>I am trying to write a Acces query where I only show the part after the ~
> sign in a column? I know how to do this in Excel but can't figure it out
> in
> ACCESS. Can anyone give me a hand?
>
> Thanks,
[MVP] S.Clark - 21 Mar 2006 06:32 GMT
If the 0~19999 is a string, then you can use the family of string functions

Left, Right, Mid, InStr, InStrRev, and Len

to assist.

Right("My Socks", 5) = "Socks"

Signature

Steve Clark, Access MVP
http://www.fmsinc.com/consulting
*FREE* Access Tips: http://www.fmsinc.com/free/tips.html

>I am trying to write a Acces query where I only show the part after the ~
> sign in a column? I know how to do this in Excel but can't figure it out
> in
> ACCESS. Can anyone give me a hand?
>
> Thanks,
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.