Home » Categories » Solutions by Business Process » Utilities

Data Interchange-Wildcards in Input Filename

Datafile Software

Data Interchange – Wildcards in Input Filename

This change to the ASCII input procedure in the Data Interchange options, for both ProFiler and Report Generator, allows the ability to specify the input filename using wildcards – i.e. C:\IMPORT\*.CSV. Any files that match the entered pattern will be imported. In addition, the processed files will be moved into a nominated folder for later reference.

Against the prompt for the External File Pathname you can now use the wildcard characters * and ? within the filename (but not within the pathname or suffix). You can therefore set the pathname such as ‘C:\IMPORT\S*.CSV’, ‘C:\IMPORT\SALES??.CSV’ or ‘C:\IMPORT\*.CSV’.

If using wildcards in the import filename you also need to set the option to Move to History Foldernominating a location to copy the file to once it has been imported. This option can also optionally be used if specify an explicit pathname.

Notes

If set to ‘Create New File’ but not ‘If Create, Append Records’ then any existing records will be cleared at the start of the import process and then all the files matching the import will be added to the database.

Similarly, if merging the import files into existing data and set to ‘Warn errors if merge’ and to ‘Print Warnings’ then one report will be created to cover errors in any of the import files.

Finally the totals display for records imported will include the count from all import files.

Custom Fields
  • Release ID: 5.6
Attachments Attachments
There are no attachments for this article.
Related Articles RSS Feed
Confirm Default Reference / Description at Run-time
Viewed 2420 times since Tue, Jun 12, 2012
End of Batch Update - Sales/Purchase Batch Updates
Viewed 2399 times since Thu, Jul 5, 2012
Selection Criteria Range ‘Value’ Input
Viewed 2691 times since Fri, May 27, 2016
Input File Structure - Job Costing Batch Update
Viewed 2279 times since Thu, Jul 5, 2012
Calling a Batch Update Definition - Profiler
Viewed 2143 times since Thu, Jul 5, 2012
End of Batch Update - Stock Batch Update
Viewed 2207 times since Thu, Jul 5, 2012
Sales/Purchase Batch Updates
Viewed 2272 times since Thu, Jul 5, 2012
Warehouse Tablet - User-Defined Database Landing Page / Edit
Viewed 501 times since Thu, Jan 9, 2025
Email Alerts - Set ‘From’ Email Account
Viewed 290 times since Thu, Jan 9, 2025
Input File Pathname - Sales/Purchase Batch Updates
Viewed 2275 times since Thu, Jul 5, 2012