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
Windows PFBACKUP can't find my Outlook PST.
Outlook: Errors have been detected in the file
Need a driver for sm bus controller on Dell d620
Some users can't access OWA
How to stablish a proper setup in MS Outlook 2003 encrypting mails
Active Directory Query - Servers Only - DG
[AutoIT] Creating a Control that Looks Like a Spreadsheet
HOW TO: remove the Anonymous User from the Everyone Group....
Multi Homed Windows 2008 Server
Oracle Build Table of tables