I have a problem that I have been struggling with now for a few weeks, and I've tried the majority of related solutions I seem to be able to find, practically none of which work, so I'm turning to the good folk of the tek-tips forums to help me out!
My quandry is thus:
I'm trying to put together a database that contains all the photos/videos that my company has for operations on one of our sites to make it nice and easy for people to find any relevant media that may be of use to them. Simple so far, right? If only...
I have a database that, basically, is a table [tblMedia] with three fields - an OLE Object field named [Preview], a text field named [Path] and a memo field named [Description]. Pretty obvious what each field does.
Now, the way I'd kill for this to work would be that there is a 'Browse...' button underneath the preview pane in the form [frmInput] that you press, and it brings up the old Open/Save dialog. You then browse for the file you want, and select it as per normal. Once you've selected, this file is placed in the OLE Object field (as a linked file), and a preview is displayed, while also the path is displayed in the text field below.
That way,
a) the system is pretty much idiot-proof
b) you can simply double-click the preview image to invoke the application linked to the program in order to get a full-size view, or to play the movie, or whatever
c) it also tells you where the file can be located.
Now, i can get this to work by using DoCmd to open the 'Insert Object' dialog, and then you have to go to the 'Browse' button, but I'd much prefer it if I could skip this imtermediate stage.
If anyone can explain to me, preferably in nice, simple, easy to understand terms that a poor structural engineer can understand, I'd really, really appreciate it, and would happily give them my first-born if they so requested!
I realise this is now a bit lengthy, so I'm going to end as soon as I've added
PLEASE HELP!!!
My quandry is thus:
I'm trying to put together a database that contains all the photos/videos that my company has for operations on one of our sites to make it nice and easy for people to find any relevant media that may be of use to them. Simple so far, right? If only...
I have a database that, basically, is a table [tblMedia] with three fields - an OLE Object field named [Preview], a text field named [Path] and a memo field named [Description]. Pretty obvious what each field does.
Now, the way I'd kill for this to work would be that there is a 'Browse...' button underneath the preview pane in the form [frmInput] that you press, and it brings up the old Open/Save dialog. You then browse for the file you want, and select it as per normal. Once you've selected, this file is placed in the OLE Object field (as a linked file), and a preview is displayed, while also the path is displayed in the text field below.
That way,
a) the system is pretty much idiot-proof
b) you can simply double-click the preview image to invoke the application linked to the program in order to get a full-size view, or to play the movie, or whatever
c) it also tells you where the file can be located.
Now, i can get this to work by using DoCmd to open the 'Insert Object' dialog, and then you have to go to the 'Browse' button, but I'd much prefer it if I could skip this imtermediate stage.
If anyone can explain to me, preferably in nice, simple, easy to understand terms that a poor structural engineer can understand, I'd really, really appreciate it, and would happily give them my first-born if they so requested!
I realise this is now a bit lengthy, so I'm going to end as soon as I've added
PLEASE HELP!!!