G
Gary Schuldt
I have an html field called UNC in my tPhoto table. I display it in a
frmPhoto, which I use to enter and view photo data.
I want it the UNC field to contain information like:
\\Garydesktop\c\My Photos\Camera Images\100_fuji-40415\20040415-002.JPG
That is, a full UNC filename--path plus filename. Once I get a value for
UNC in this format, I can click on it, and it brings up the JPG displayed
with the image program I use, ACDSee. That works fine from my frmPhoto.
However, creating a value for this field is giving me unexpected problems!
1. ACDSee has an IE-type display for folders and filenames. There is an
address bar, and, when I am viewing the photo, I can get the path (without
the filename) displayed in the address field (e.g., \\Garydesktop\c\My
Photos\Camera Images\100_fuji-40415). Does anyone know how to pick up the
fully-qualified filename? (I don't mind cutting and pasting.) That would
solve my problem.
Alternatively:
2. I am also keeping just the filename (e.g., 20040415-002.JPG) in another
text field, since I'm using it as a unique identifier (but not the PK) for
the photo. It makes it easy to search for it in other contexts, like our
website slide shows, etc.
So I thought I'd be smart and just concatenate the path I get from ACDSee
with the filename to get a value for UNC. However, when I do that in Access
VBA using
Me.UNC = Me.UNC & "\" & Me.DateSeqNum
I end up with a mysterious #-sign between the path and the file name, like
\\Garydesktop\c\My Photos\Camera Images\100_fuji-40415#\20040415-002.JPG
That was a surprise!
Anyone have any ideas how I can easily get what I want correctly into one
field?
Thanks in advance.
Gary
frmPhoto, which I use to enter and view photo data.
I want it the UNC field to contain information like:
\\Garydesktop\c\My Photos\Camera Images\100_fuji-40415\20040415-002.JPG
That is, a full UNC filename--path plus filename. Once I get a value for
UNC in this format, I can click on it, and it brings up the JPG displayed
with the image program I use, ACDSee. That works fine from my frmPhoto.
However, creating a value for this field is giving me unexpected problems!
1. ACDSee has an IE-type display for folders and filenames. There is an
address bar, and, when I am viewing the photo, I can get the path (without
the filename) displayed in the address field (e.g., \\Garydesktop\c\My
Photos\Camera Images\100_fuji-40415). Does anyone know how to pick up the
fully-qualified filename? (I don't mind cutting and pasting.) That would
solve my problem.
Alternatively:
2. I am also keeping just the filename (e.g., 20040415-002.JPG) in another
text field, since I'm using it as a unique identifier (but not the PK) for
the photo. It makes it easy to search for it in other contexts, like our
website slide shows, etc.
So I thought I'd be smart and just concatenate the path I get from ACDSee
with the filename to get a value for UNC. However, when I do that in Access
VBA using
Me.UNC = Me.UNC & "\" & Me.DateSeqNum
I end up with a mysterious #-sign between the path and the file name, like
\\Garydesktop\c\My Photos\Camera Images\100_fuji-40415#\20040415-002.JPG
That was a surprise!
Anyone have any ideas how I can easily get what I want correctly into one
field?
Thanks in advance.
Gary