Purpose: Quickly and easily create a dynamic list of records without having to define/declare a class or dynamic array of records and which can EASILY be saved to and loaded from XML, JSON, CSV, etc.
Properties:
Fields: TStrings or TTypes (List of types used for the records, e.g.: string, Integer, Float, TImage, ...)
RecordItems: TRecordCollection (Collection of RecordItem)
RecordItem: TRecordItem (Record item containing the fields from the Fields property)
Methods:
SaveToXML (Saves the whole AdVRecordList to an XML file)
SaveToJSN (Saves the whole AdVRecordList to a JSON file)
SaveToCSV (Saves the whole AdVRecordList to a CSV file)
LoadFromXML (Loads an XML file previously saved with SaveTo...)
LoadFromJSN (Loads a JSON file previously saved with SaveTo...)
LoadFromCSV (Loads a CSV file previously saved with SaveTo...)
Add (Adds a new record item)
Delete (Deletes a specific record item)
Sort(AField: Fields[n]) (Sorts the AdvRecordList by the field Fields[n])
Find(AField: Fields[n]; Value: Variant?; StartIndex: Integer) (Starting from StartIndex, finds the RecordItem with Value in AField)
etc.