BarryMK
4 strings are enough
- Local time
- Today, 10:05
- Joined
- Oct 15, 2002
- Messages
- 1,350
I've spent most of this morning playing around with parsing functions found here but sadly I’m quite hopeless at functions and am stuck so I hurl myself on your mercy again. I have a field on my form called PicFile which holds the paths to linked images such as \\server\ehealth\StrayDogs\DogPics\2007\012345.jpg and a text field called StrayRef.
I’d like to be able to parse the path data to remove this section \\server\ehealth\StrayDogs\DogPics\2007\ (which doesn't change) then remove the .jpg extension and insert the remaining number 012345 into StrayRef. One snag is that this could be a 4 or 5 figure number.
I’d like to be able to parse the path data to remove this section \\server\ehealth\StrayDogs\DogPics\2007\ (which doesn't change) then remove the .jpg extension and insert the remaining number 012345 into StrayRef. One snag is that this could be a 4 or 5 figure number.