dbTalk Databases Forums  

Displaying file full path Anyone?

comp.databases.filemaker comp.databases.filemaker


Discuss Displaying file full path Anyone? in the comp.databases.filemaker forum.



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

Default Displaying file full path Anyone? - 09-26-2005 , 08:15 AM






I'm using a container field where I insert a file
I'm trying to display the full path of the container field to another field

example: the container has a file test.xls or test.jpg
when making a button for opening the test.xls or test.jpg it opens the files
BUT ONLY if the files are at the same directory
If I type the full path and the file to a different field this work
correctly
I'm trying not to type the full path and file since it is already in the
container

Is this possible?

Thankx



Reply With Quote
  #2  
Old   
savvas
 
Posts: n/a

Default Re: Displaying file full path Anyone? - 09-26-2005 , 08:28 AM






Like using Get(FilePath) not for the database but for the container

Thankx again



Reply With Quote
  #3  
Old   
Dan
 
Posts: n/a

Default Re: Displaying file full path Anyone? - 09-26-2005 , 06:39 PM



GatAsText(ContainerName) should give you a full pathname. Its format
depends on how you put the file into the container - try it out.

savvas wrote:
Quote:
Like using Get(FilePath) not for the database but for the container

Thankx again
--
Dan
Using
FMP7.03, WinXP SP2




Reply With Quote
  #4  
Old   
savvas
 
Posts: n/a

Default Re: Displaying file full path Anyone? - 09-27-2005 , 01:28 AM




Ο "Dan" <dan (AT) owlsnet (DOT) co.uk> έγραψε στο μήνυμα
news:q_GdnRcmXpImG6XenZ2dnUVZ8tydnZ2d (AT) brightview (DOT) com...
Quote:
GatAsText(ContainerName) should give you a full pathname. Its format
depends on how you put the file into the container - try it out.

savvas wrote:
Like using Get(FilePath) not for the database but for the container

Thankx again

--
Dan
Using
FMP7.03, WinXP SP2

I tried GetAsText(ContainerName) and it returns only the filename with its
extension, not the full path




Reply With Quote
  #5  
Old   
Dan
 
Posts: n/a

Default Re: Displaying file full path Anyone? - 09-27-2005 , 06:41 AM




savvas wrote:
Quote:
Ο "Dan" <dan (AT) owlsnet (DOT) co.uk> έγραψε στο μήνυμα
news:q_GdnRcmXpImG6XenZ2dnUVZ8tydnZ2d (AT) brightview (DOT) com...
GatAsText(ContainerName) should give you a full pathname. Its format
depends on how you put the file into the container - try it out.

savvas wrote:
Like using Get(FilePath) not for the database but for the container

Thankx again

--
Dan
Using
FMP7.03, WinXP SP2


I tried GetAsText(ContainerName) and it returns only the filename
with its extension, not the full path
OK that result is, I think, due to the file being stored in the
container as opposed to a reference to the file. The logic presumably is
that if you store the file then it doesn't matter what it's initial
location is.



--
Dan
Using
FMP7.03, WinXP SP2




Reply With Quote
  #6  
Old   
savvas
 
Posts: n/a

Default Re: Displaying file full path Anyone? - 09-27-2005 , 07:29 AM




Ο "Dan" <dan (AT) owlsnet (DOT) co.uk> έγραψε στο μήνυμα
news:suadnb7VuuF7sqTenZ2dnUVZ8qidnZ2d (AT) brightview (DOT) com...
Quote:
savvas wrote:
Ο "Dan" <dan (AT) owlsnet (DOT) co.uk> έγραψε στο μήνυμα
news:q_GdnRcmXpImG6XenZ2dnUVZ8tydnZ2d (AT) brightview (DOT) com...
GatAsText(ContainerName) should give you a full pathname. Its format
depends on how you put the file into the container - try it out.

savvas wrote:
Like using Get(FilePath) not for the database but for the container

Thankx again

--
Dan
Using
FMP7.03, WinXP SP2


I tried GetAsText(ContainerName) and it returns only the filename
with its extension, not the full path

OK that result is, I think, due to the file being stored in the container
as opposed to a reference to the file. The logic presumably is that if you
store the file then it doesn't matter what it's initial location is.



--
Dan
Using
FMP7.03, WinXP SP2

What I wan't to do is store files in my database (word,excel,photos, etc)
and by clicking the file to open it
If an OLE object windows explorer that takes me to folders and files is
available that would be more helpfull

Thanks




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.