I am new to developing and am working on a script written by someone else. Currently the script will only import data from other FMP files and I need to import from other kinds of documents. What I'd like is to have the Import Field Mapping dialog pop up that will allow a user to select fields for import just like when you import the data straight from within a document. Currently if you select any kind of file that is not FMP you get the error, "The file could not be translated using the selected file type."
The code currently reads: Import Records [No dialog; "$ImportFileName"; Add; Mac Roman]
Can someone help point me in the right direction?