AnsweredAssumed Answered

Import script

Question asked by RGoyette on Jan 21, 2010
Latest reply on Mar 19, 2010 by elizas


Import script


I am writing a script to import data into a database and I want to give the user the choice:  import from an ODBC data source or from a local file.  I use a custom dialog box to capture the user's choice.  The OBDC part is done and works well.  The trouble is the local file part.  The file can be called anything and located anywhere.  How do I manage to allow the user to specify the file name and location so that I can store it in a variable that can be passed to Import Records?  In addition, the file from which I am importing has several layouts each of which has a list of records that need to be imported.  How do I specify which layout to use when importing?