checking file in a extern folder

Hi,

There are 2 fields :
- Name_of_file : text
- Present (yes/no)
and a folder ZZ which contains some files like
a.pdf, b.jpg , ...........

When I give a name in Name_of_file, Present must
show if the file existe (yes) or not (no) in the folder ZZ.

Should I calcul directly in a field or use a script and how ?
or is there a plug-ins that can do that ?

Your help is highly appreciated,

J.
Jimmy [ Mi, 09 Januar 2008 15:59 ] [ ID #1903531 ]

Re: checking file in a extern folder

You might want to look at the free 'Moo' plugin
<http://www.mooplug.com/>, which can be used to check if a file exists.

Or you can do it without a plugin by trying to import the file into a
container field (with error capture turned on) and then check for
problems if get(lasterror) > 0


Jimmy wrote:
> Hi,
>
> There are 2 fields :
> - Name_of_file : text
> - Present (yes/no)
> and a folder ZZ which contains some files like
> a.pdf, b.jpg , ...........
>
> When I give a name in Name_of_file, Present must
> show if the file existe (yes) or not (no) in the folder ZZ.
>
> Should I calcul directly in a field or use a script and how ?
> or is there a plug-ins that can do that ?
Howard Schlossberg [ Mi, 09 Januar 2008 17:21 ] [ ID #1903533 ]
Datenbanken » comp.databases.filemaker » checking file in a extern folder

Vorheriges Thema: Searches
Nächstes Thema: FileMaker Ships Bento; $49