Microsoft
Software
Hardware
Network
Question : How do I extract characters after a hypen in query?
How do I extract the characters after hyphen in a query? I have a field called ContactSource that has the values General-(persons name) and Board-(persons name). I have been using =Mid([ContactSource] & "*",7) which returns the persons name correctly when preceded by Board- but not when preceded by General-. Help would be greatly appreciated.
Answer : How do I extract characters after a hypen in query?
Mid(ContactSource, InStr(1, ContactSource & "-", "-") + 1)
That returns an empty string for any instances that have no hyphen.
Random Solutions
Perl Iteration issue
XP install without access to CD drive
What is the next number of this number sequence? - General Math Question
Is there a better docmd.sendobject method to send query results?
Search and replace script
ASP - Masterpage issue with Home.asp
Sonicwall E5500 bandwidth/shaping vs Packetlogic PL5600
Remote Web Workplace / RDP
LG LCD TV (55LH90) and bdvt11 home theatre system
Salesforce Outlook Connector with Server 2008 r2 Terminal Server