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
