Skip to content

Releases: ws-garcia/VBA-CSV-interface

CSV Interface v4.3.8

04 Apr 03:08
Compare
Choose a tag to compare

Improvements

  • Much more stable dialect sniffer: the parser can now infer CSV dialects in a much more stable way, omitting the propagation of mean errors to the table record scores.

CSV Interface v4.3.7

02 Apr 07:48
Compare
Choose a tag to compare

Bugs fixed

  • Dialect sniffer: the CSV file dialect cannot be detected when the qualifier was not present.

CSV Interface v4.3.6

01 Apr 05:09
Compare
Choose a tag to compare

Bug fixes

  • Faulty import of CSV file segments: The parser could not import CSV file segments when .parseConfig.startingRecord and .parseConfig.endingRecord properties were specified.

CSV Interface v4.3.5

26 Mar 18:33
d9fe74d
Compare
Choose a tag to compare

Improvements

  • More powerful dialect sniffer: the parser can now infer CSV dialects much more accurately. The tool can now correctly detect line endings in files containing non-unique end-of-line characters.

CSV Interface v4.3.4

21 Mar 03:27
Compare
Choose a tag to compare

Improvements

  • Released a general version of CSV Interface: this library can be used from any Office application, it is supposed to work also in other environments such as AutoDesk AutoCAD.

Bug fixes

  • ImportFromCSV: the information about number of fields was not correctly mapped, this caused erratic behavior at import stage and in the dump methods to spreadsheets and databases when the user indicated the fields to be imported.

CSV Interface v4.3.3

08 Feb 03:23
Compare
Choose a tag to compare

Bug fixes

  • CSVArrayList: undesired behavior of the Copy method when the given end index exceeded the current amount of data in the instance.

CSV Interface v4.3.2

07 Feb 03:48
Compare
Choose a tag to compare

Bug fixes

  • CSVTextStream: subfolders were not managed correctly.
  • CSVArrayList: Add2 method was broken.

CSV Interface v4.3.1

05 Jan 22:05
Compare
Choose a tag to compare

Improvements

  • Stream reader: smarter work with text files containing a mixture of line ending characters.
  • Filter: faster execution.

Bug fixes

  • Delimiter guesser: can't guess delimiters when forcing streams to return vbLf as EOL char.
  • Dedupe: broken function when calling from CSVInterface class module.

CSV Interface v4.3.0

31 Dec 16:56
94fffb6
Compare
Choose a tag to compare

This version includes an important code refactoring of several members of the library, as well as some improvements that allow to outline the tool as a solid solution for data management.

Improvements

  • Key related records: users can now use keys to segregate records as they are stored when the keyTree property is set to True. For example, under a key "fruits" you can store the records "lemon", "pear" and for a key "tools" you can store "hammer" and "chainsaw"; the user can request the segregated records at any time with the GetIndexedItem method by specifying a key.
  • Faster deduplication: the execution time of the "Dedupe" method is 40% less.
  • Use headers titles for computations: Filter, Reduce and InsertField methods now supports headers titles (also with white spaces) as variables.
  • Calculated fields: the new InsertField method unleashes the possibility to use complex expressions to calculate values and insert them as a new field/column in the data tables. For example the following instruction adds a new field called "Taxes" in the ninth position which is defined as 18% of the total profit in each record, giving the VBA "Currency" format to the computation made: : .InsertField(8, "Taxes", True, "FORMAT(Total Revenue * PERCENT(18);'Currency')").
  • Easy data storage: copy data from arrays of arraylist with the flexible and robust Add2 method and the items property. Define and share data from scratch with the FromString and ToString methods.

Members changes

CSVinterface

  • InsertField now has a Formula parameter to allow insertion of calculated fields.

CSVarrayList

  • Added: Dedupe, FromString, InsertField, MergeFields, RearrangeFields, RemoveField, ShiftField, ShiftRecord, SortByField, SortKeys, SplitField, and ToString methods.
  • Added: isSorted, keyTree, lastSortedIndex properties.
  • Optimized: Add2 and Dedupe methods, items property.
  • Bug fixed: parser unable to properly get the order of the fields given by the user. Affected methods: Dedupe, LeftJoin, RightJoin, InnerJoin.
  • Bug fixed: unexpected behavior. Affected method: SortByField

CSVexpression

  • Improvement: more than 60 string, mathematical, logical, date-time and financial built-in functions
  • Bug fixed: boolean negation prevents recognizing variables. Affected method: Eval.
  • Bug fixed: function parsing was broken. Affected method: Create.

CSV Interface v4.2.1

07 Aug 19:28
Compare
Choose a tag to compare

Members changes

CSVarrayList

  • Bug fixed: Joins did not retrieve headers.