Hope someone can help i have the following code that returns any data before a space in the name field
Left([Name],InStr([Name] & ' ',' ')-1)
i also have the following code that returns any data before a "-"
Left([Name],InStr([Name] & "_","_")-1)
i was wondering if it would be possible to combine the 2 lines of code so it looks for any data before a space or a "_" hope someone can help
Left([Name],InStr([Name] & ' ',' ')-1)
i also have the following code that returns any data before a "-"
Left([Name],InStr([Name] & "_","_")-1)
i was wondering if it would be possible to combine the 2 lines of code so it looks for any data before a space or a "_" hope someone can help