Hello (from a newbie),
I have an image database that pulls in a copy of a file (stores the link in database). The image shows up in my subform. I then show the name of file in a control called image description, however, it shows the entire link:
D:\imageDogs\Ch estertheDog.jpg
I'm looking for good example code for StrRevers (InStr)J, so I can somehow reverse the string, cut off the 'ChestertheDog. jpg and display only the ChestertheDog in the control. I also have another control box which I'd like the '.jpg' portion to go to.
Has anyone done something like this? Help...I've been playing around with samples from the Web and nothings working. thanks
Rosie
I have an image database that pulls in a copy of a file (stores the link in database). The image shows up in my subform. I then show the name of file in a control called image description, however, it shows the entire link:
D:\imageDogs\Ch estertheDog.jpg
I'm looking for good example code for StrRevers (InStr)J, so I can somehow reverse the string, cut off the 'ChestertheDog. jpg and display only the ChestertheDog in the control. I also have another control box which I'd like the '.jpg' portion to go to.
Has anyone done something like this? Help...I've been playing around with samples from the Web and nothings working. thanks
Rosie
Comment