![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, I want to create a database of some files which are different than the regular file. I can insert one file at a time in a container field by right clicking on the container field and using Insert File. Now I want to insert all my files into the database. All my files are stored in a seperate folder. When I use the Import Record->Folder command from the File menu, and click on the Pictures radio button and opt for inserting just the reference, Filemaker crashes. I could not find an import record option for file formats other than images, pictures or text files. Can anybody help me with this? Is there a way I can import filesinto FM7 from a folder which are other than image files , movie files or text files? Thanks, Abhi |
#3
| |||
| |||
|
#4
| |||
| |||
|
#5
| |||
| |||
|
#6
| |||
| |||
|
|
To play with files from within FileMaker I suggest you to look at the 'Troi File' plugin - www.troi.com - which is to me one of the best to do that. It comes with excellent examples even with the trial one. But did I understand what you're trying to achieve? I doubt it. FileMaker is a database tool done for managing data and not files ... Remi-Noel. "Abhi" <abhishika (AT) gmail (DOT) com> a écrit ... Hi All, I want to create a database of some files which are different than the regular file. I can insert one file at a time in a container field by right clicking on the container field and using Insert File. Now I want to insert all my files into the database. All my files are stored in a seperate folder. When I use the Import Record->Folder command from the File menu, and click on the Pictures radio button and opt for inserting just the reference, Filemaker crashes. I could not find an import record option for file formats other than images, pictures or text files. Can anybody help me with this? Is there a way I can import filesinto FM7 from a folder which are other than image files , movie files or text files? Thanks, Abhi |
#7
| |||
| |||
|
#8
| |||
| |||
|
|
If you are only going to store the reference try doing it without a container. For example in Windows the following command prompt (which you can put into a batch file if you wish) dir /n /b /s /a-d > dir.txt produces a text file, dir.txt, containing a listing of all the files, with full path, in the current directory and all its subdirectories. Looks like this: E:\All_Documents\Desktop.ini E:\All_Documents\dir.txt E:\All_Documents\Info.bat etc.... This text file can be imported into a Filemaker database importing each line into a text field Filename. You can open the file by using an Open URL(table::Filename), if you haven't moved the file in the meantime. |
#9
| |||
| |||
|
|
I must say I didn't know anything about these features of the 'dir' command. This solution is spectacular. Thanks for the "dir /n /b /s /a-d dir.txt". Now, back to TroiFile, I can't let say that it 'freezes' the machine after a while. I use it extensively in FMP6 for a museum to import in containers the references of thousands images files and it has worked for years perfectly. The only limit I saw in it is that when dealing with a folder full of images files it puts all their file names in a single temporary field. In FMP6 the field size has a limit of 64K characters thus limiting the number of files you can handle at a time : say 6400 if each image file name is 10 characters long including '.jpg' for example. So in another solution in FMP6 I made - still with TroiFile - for a DVD renting store - I had to 'import' 30 000 cover images - I had to set up a more complex solution, splitting the original folder into something like 40 subfolders to stay in the limit of 5000 images per folder. It works at night and works well. I can share this solution with anyone interested and ready to invest some time in it. Remi-Noel "Dan Fretwell" <dan (AT) owlsnet (DOT) co.uk> a écrit dans le message de news: 1132019201.139858.238230 (AT) z14g20...oglegroups.com... If you are only going to store the reference try doing it without a container. For example in Windows the following command prompt (which you can put into a batch file if you wish) dir /n /b /s /a-d > dir.txt produces a text file, dir.txt, containing a listing of all the files, with full path, in the current directory and all its subdirectories. Looks like this: E:\All_Documents\Desktop.ini E:\All_Documents\dir.txt E:\All_Documents\Info.bat etc.... This text file can be imported into a Filemaker database importing each line into a text field Filename. You can open the file by using an Open URL(table::Filename), if you haven't moved the file in the meantime. |
#10
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |