Newbies Burke Posted May 2, 2004 Newbies Posted May 2, 2004 I have a container field which can display a reference to a Word document--right click, Insert File. I would like to click a button (run a script) which would launch Word and load the document. I've tried the Send Event function but it will either launch Word without loading the document, or do nothing. I can't figure it out. Thanks in advance.
Hijack Posted May 10, 2004 Posted May 10, 2004 I'm working toward a similar script solution in one of my databases and would be interested in hearing a possible solution to this issue too. Unfortunately, from all of my investigation, this sort of thing isn't possible. The only way I can find to open a container object (document, spreadsheet, etc.) is by double clicking the container field itself.
Hijack Posted May 11, 2004 Posted May 11, 2004 Vaughan, You're a genious. Sometimes, it's the simplest things than slip past me. That works like a charm. Mucho thanks.
Newbies Bart Burkels Posted May 11, 2004 Newbies Posted May 11, 2004 Call me stupid, but it doesn't work here. I made a container field in my database. I inserted a file (document.doc) It appears in the containerfield with a Word icon. If I doubleclick the field, nothing happens. Made a button. Attached functions "Go to field[select/perform]" to the button. Back to browse mode: click the button.. the document is not opened in Word. The only thing happening is that the containerfield gets the focus (so "select" works ok.) Any ideas? Thanks in advance...
jfmcel Posted May 13, 2004 Posted May 13, 2004 You need to have the document stored as a reference to a file. [strangely, with IWP, you need to have the file internally stored to open the document over the web.]
Hijack Posted May 13, 2004 Posted May 13, 2004 I have the full document stored in the container as well. In my case, it's an MSC file (Microsoft Management Console) for a server information database. The scripted opening method works as well as double clicking the container. Now, I stored the document by simply dragging and dropping it from the desktop into the container field. I did not copy/paste it into the container. Maybe that has something to do with it.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now