Jul 12, 2004 #1 MikeRBS IS-IT--Management Apr 15, 2004 81 GB In an Access 200 query, if I do this it works: Slash2: InStr(1,[Filename],".") If I do this it returns zero: Slash2: InStr(1,[Filename],"\") I can only assume some escape sequence is required. Any clues?
In an Access 200 query, if I do this it works: Slash2: InStr(1,[Filename],".") If I do this it returns zero: Slash2: InStr(1,[Filename],"\") I can only assume some escape sequence is required. Any clues?
Jul 12, 2004 #2 amorous Programmer Sep 5, 2003 1,008 US Try this: Slash2: InStr(1,[Filename],"\\") -VJ Upvote 0 Downvote
Jul 12, 2004 Thread starter #3 MikeRBS IS-IT--Management Apr 15, 2004 81 GB Still returns zero. Same with '\\' Upvote 0 Downvote
Jul 12, 2004 Thread starter #4 MikeRBS IS-IT--Management Apr 15, 2004 81 GB I can't believe this. I'd got a completely different field - with no slashes. So Access is just fine after all. If I had a brain, I'd be dangerous... Upvote 0 Downvote
I can't believe this. I'd got a completely different field - with no slashes. So Access is just fine after all. If I had a brain, I'd be dangerous...