dbTalk Databases Forums  

How to open a Word-file by clicking on a FMP-button?

comp.databases.filemaker comp.databases.filemaker


Discuss How to open a Word-file by clicking on a FMP-button? in the comp.databases.filemaker forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Paul Overtoom
 
Posts: n/a

Default How to open a Word-file by clicking on a FMP-button? - 10-25-2005 , 09:07 AM






I would like to use a number of fields in a FMP-8 database to refer to
Word-documents. Also, I would like to be able to open those files just
by clicking on the particular field or an adjacent "button". Who can
show me how to set this up?

Thanks in advance,

Paul


Reply With Quote
  #2  
Old   
ursus.kirk
 
Posts: n/a

Default Re: How to open a Word-file by clicking on a FMP-button? - 10-26-2005 , 01:00 PM






Simple

Take a textfield <MyDocField>
enter complete path C:\MyFolder\MyFolder2\Mydocument.doc
Create a script <OpenDoc>
Enter ScriptStep Open URL. Klik on the Button and point it to MyDocField.
Enable the Without Dialog option
Close script editor

Start the script. Thats it!

Ursus

"Paul Overtoom" <overgeentoom (AT) worldspamonline (DOT) holland> schreef in bericht
news:435e3c09$0$76593$dbd49001 (AT) news (DOT) wanadoo.nl...
Quote:
I would like to use a number of fields in a FMP-8 database to refer to
Word-documents. Also, I would like to be able to open those files just by
clicking on the particular field or an adjacent "button". Who can show me
how to set this up?

Thanks in advance,

Paul




Reply With Quote
  #3  
Old   
Paul Overtoom
 
Posts: n/a

Default Re: How to open a Word-file by clicking on a FMP-button? - 10-26-2005 , 04:23 PM



Thank you! You pointed me in the right direction, although I solved it
differently (with some help from another thread): I created a container
field and inserted the file reference in it (just by pointig at the
file through a windows-dialog). Then all I needed to do was click on
the reference to open it. This enabled me to avoid typing in the entire
path (which is error-prone anyway wit me).

Thanks again.

On 2005-10-26 20:00:43 +0200, "ursus.kirk" <secret (AT) nowhere (DOT) com> said:

Quote:
Simple

Take a textfield <MyDocField
enter complete path C:\MyFolder\MyFolder2\Mydocument.doc
Create a script <OpenDoc
Enter ScriptStep Open URL. Klik on the Button and point it to
MyDocField. Enable the Without Dialog option
Close script editor

Start the script. Thats it!

Ursus

"Paul Overtoom" <overgeentoom (AT) worldspamonline (DOT) holland> schreef in
bericht news:435e3c09$0$76593$dbd49001 (AT) news (DOT) wanadoo.nl...
I would like to use a number of fields in a FMP-8 database to refer to
Word-documents. Also, I would like to be able to open those files just
by clicking on the particular field or an adjacent "button". Who can
show me how to set this up?

Thanks in advance,

Paul



Reply With Quote
  #4  
Old   
ursus.kirk
 
Posts: n/a

Default Re: How to open a Word-file by clicking on a FMP-button? - 10-30-2005 , 03:57 AM



Paul,

A little late...

There is a flaw in your strategy. I assume all connected documents are in
one seperate map. Which is the easiest way to maintain them anyway. But now
you rethink your strategy and want to rename the parent folder (Say from
MyDocs into MyFilenameDocs) Where Filename stands for the project you are
working on. Now you would have to manually go into each record and re-import
the container fields. Whereas with my system you put the path in a global
field. The easiest way is then that the doc's name is related to the record
it belongs to. Say by a uniquely, auto-entered value. Then create a
calculation where you put buth global and docname into. When you now need to
change the path, you only need to change the value of the global (and that's
only once)

Ursus

"Paul Overtoom" <overgeentoom (AT) worldspamonline (DOT) holland> schreef in bericht
news:435ff3b7$0$32338$dbd4d001 (AT) news (DOT) wanadoo.nl...
Quote:
Thank you! You pointed me in the right direction, although I solved it
differently (with some help from another thread): I created a container
field and inserted the file reference in it (just by pointig at the file
through a windows-dialog). Then all I needed to do was click on the
reference to open it. This enabled me to avoid typing in the entire path
(which is error-prone anyway wit me).

Thanks again.

On 2005-10-26 20:00:43 +0200, "ursus.kirk" <secret (AT) nowhere (DOT) com> said:

Simple

Take a textfield <MyDocField
enter complete path C:\MyFolder\MyFolder2\Mydocument.doc
Create a script <OpenDoc
Enter ScriptStep Open URL. Klik on the Button and point it to MyDocField.
Enable the Without Dialog option
Close script editor

Start the script. Thats it!

Ursus

"Paul Overtoom" <overgeentoom (AT) worldspamonline (DOT) holland> schreef in bericht
news:435e3c09$0$76593$dbd49001 (AT) news (DOT) wanadoo.nl...
I would like to use a number of fields in a FMP-8 database to refer to
Word-documents. Also, I would like to be able to open those files just
by clicking on the particular field or an adjacent "button". Who can
show me how to set this up?

Thanks in advance,

Paul





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.