Importing Multi txt Files from a folder

Hello All,
I have a database FMP V9 that I need to import several TXT flies with a script. I have found this script
Go to Layout ["ImportToDo"]
Import Records [###; Include all enclosed folders; Text files]
Go to Record [First]
Loop
Set Variable [$currFile; Value:ImportToDo::filePath]
Go to Layout ["Destination Table"]
Import Records [No Dialog; "$currFile"]
Go to Layout ["ImportToDo"]
Go to Record [Next; Exit after last]
End Loop

I have created the new table and everything works fine, except, it can not find the files listed in the ImportToDo table.
I think it's the Import File $currFile- The import records "$currFile" doesn't seems to work, FMP asks where
the file are each time.
Am I using the Import Record $currFile wrong?
Please help -
Slimz
slimz [ Mi, 25 Juli 2007 03:37 ] [ ID #1777998 ]
Datenbanken » comp.databases.filemaker » Importing Multi txt Files from a folder

Vorheriges Thema: FMP9: still the old primitive line wrapping
Nächstes Thema: Using Amazon's S3 Service