Hello,
I am trying to select the 'FileImportFilter' to be used at the moment of loading certain data using a script. For that, in the UserCommand defined to the event 'OnFileLoading' (triggered before the data is loaded) I am saying:
SubMyOnFileLoading (NaviLoadControl, DataFileName, ImportAction, FileImportFilter, ImportSelection)
SelectCaseLCase(NameSplit(DataFileName,"E"))
Case"mfx"
FileImportFilter="MDF4"
Case Else
EndSelect
However, the data is not loaded and the message box for selecting one of the data plugins availables is shown.
Can anyone help me with this? There is other way to select the data plugin to used before the loading of a data starts?
Thank you,
Andres Uribe