I receive files from the field with the exact same names but could be 4 different type of data. The first 3 characters of which will tell me the type of data contained and will then dictate the SpecName to use. Currently, we import all such files under all spec names and then filter out the garbage. There must be a simpler way. The logic would go something like:
Dim strType as String
Examine first 3 characters of abc.dat
Case Select
Case strType = A
import specName A
Case strType = B
import specName B
etc.
Larry
Dim strType as String
Examine first 3 characters of abc.dat
Case Select
Case strType = A
import specName A
Case strType = B
import specName B
etc.
Larry